/* Ana Stiller */

/* Admin Panel Stilleri */
.admin-header {
  background-color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
}

.admin-header .logo h1 {
  color: var(--text-light);
  font-size: 1.5rem;
}

.admin-header nav ul li a {
  color: var(--text-light);
  font-weight: bold;
}

.admin-header nav ul li a:hover {
  color: var(--accent-color);
}

.admin-container {
  padding: 2rem;
}

.admin-title {
  margin-bottom: 2rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

/* Landing Sayfası Stilleri */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Features Section */
.features-section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}
.modal-title{
  color: var(--dark-bg);
}
.p{
  color: var(--dark-bg);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.feature-description {
  color: var(--text-muted);
}

/* About Section */
.about-section {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  margin-bottom: 2rem;
}

.about-text {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

/* Auth Stilleri */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  padding: 2rem;
}

.auth-card {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
}

.auth-title {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.auth-form .form-control {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 1rem;
}

.auth-form .form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.3);
}

.auth-form .btn-block {
  width: 100%;
  margin-top: 1rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.alert-danger {
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}
:root {
  --primary-color: #1e3a8a; /* Koyu mavi */
  --secondary-color: #3b82f6; /* Mavi */
  --accent-color: #60a5fa; /* Açık mavi */
  --dark-bg: #0f172a; /* Koyu arka plan */
  --dark-surface: #1e293b; /* Koyu yüzey */
  --text-light: #f8fafc; /* Açık metin */
  --text-muted: #94a3b8; /* Soluk metin */
  --danger-color: #ef4444; /* Kırmızı */
  --success-color: #22c55e; /* Yeşil */
  --warning-color: #f59e0b; /* Turuncu */
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--dark-bg);
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--dark-surface);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--accent-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

nav ul li a i {
  margin-right: 0.5rem;
}

nav ul li a:hover {
  color: var(--accent-color);
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 1rem 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.btn i {
  margin-right: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
}

.btn-secondary {
  background-color: var(--dark-surface);
  color: var(--text-light);
  border: 1px solid var(--secondary-color);
}

.btn-secondary:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

.btn-danger {
  background-color: var(--danger-color);
  color: var(--text-light);
}

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-success {
  background-color: var(--success-color);
  color: var(--text-light);
}

.btn-success:hover {
  background-color: #16a34a;
}

/* Dashboard */
.dashboard {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.dashboard h2 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-icon {
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--text-light);
}

.stat-info h3 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-info p {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-light);
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Masa Yönetimi */
.masa-yonetimi {
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.masa-yonetimi h2 {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.canvas-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.canvas-tools {
  grid-column: 1 / -1;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.transform-tools {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

#canvas {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  height: auto;
  grid-column: 1;
}

.object-properties {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  grid-column: 2;
}

.object-properties h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 0.5rem;
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-light);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.hidden {
  display: none;
}

.info-message {
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.object-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.list-section {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.list-section h3 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.list-group {
  list-style: none;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.list-item span {
  display: flex;
  flex-direction: column;
}

.masa-baglanti {
  font-size: 0.8rem;
  color: var(--accent-color);
  margin-top: 0.25rem;
}

.list-item:last-child {
  border-bottom: none;
}

.list-item-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-edit, .btn-delete {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-edit {
  color: var(--accent-color);
}

.btn-edit:hover {
  color: var(--secondary-color);
}

.btn-delete {
  color: var(--danger-color);
}

.btn-delete:hover {
  color: #dc2626;
}

/* Error Pages */
.error-container {
  text-align: center;
  padding: 3rem;
  background-color: var(--dark-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 600px;
  margin: 0 auto;
}

.error-icon {
  font-size: 4rem;
  color: var(--warning-color);
  margin-bottom: 1rem;
}

.error-code {
  font-size: 6rem;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-container h2 {
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.error-container p {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul {
    margin-top: 1rem;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .canvas-container {
    grid-template-columns: 1fr;
  }
  
  .object-properties {
    grid-column: 1;
  }
  
  .transform-tools {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

/* Öğrenci Yönetimi Stilleri */
.student-form {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-light);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.filter-section {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-controls {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
}

.filter-controls input,
.filter-controls select {
  padding: 0.75rem;
  background-color: var(--dark-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-light);
}

.students-section {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.students-section h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}



.students-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.students-table th,
.students-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.students-table th {
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--accent-color);
  font-weight: 600;
  position: sticky;
  top: 0;
}

.students-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.students-table .actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 4px;
}

.btn-edit {
  background-color: var(--accent-color);
  color: white;
  border: none;
}

.btn-edit:hover {
  background-color: var(--secondary-color);
}

.btn-delete {
  background-color: var(--danger-color);
  color: white;
  border: none;
}

.btn-delete:hover {
  background-color: #dc2626;
}

/* Responsive Öğrenci Yönetimi */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .filter-controls {
    grid-template-columns: 1fr;
  }
  
  .students-table {
    font-size: 0.8rem;
  }
  
  .students-table th,
  .students-table td {
    padding: 0.5rem;
  }
}

/* Students Header Styles */
.students-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.students-header h3 {
  margin: 0;
  color: var(--text-light);
}

#exportToExcel {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

#exportToExcel:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

#exportToExcel:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .students-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #exportToExcel {
    width: 100%;
    justify-content: center;
  }
}