/* Reset ve Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #1e88e5;
    --primary-light: #e3f2fd;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Stilleri */
.sidebar {
    width: 250px;
    background-color: var(--white);
    padding: 20px;
    box-shadow: var(--shadow);
    position: fixed;
    height: 100vh;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
}

.logo i {
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    margin-top: 30px;
}

.nav-links li {
    margin-bottom: 5px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.nav-links li.active a {
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-links i {
    width: 20px;
}

/* Ana İçerik Stilleri */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

/* Header Stilleri */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 8px;
    width: 300px;
}

.search-bar input {
    border: none;
    background: none;
    outline: none;
    margin-left: 10px;
    width: 100%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info i {
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.notification-icon {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 10px;
}

/* Öğrenci Listesi Stilleri */
.students-content {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 20px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-left h1 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
}

.add-student-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.add-student-btn:hover {
    background-color: #1976d2;
}

.table-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.table-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.export-btn {
    background: none;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background-color: var(--secondary-color);
}

.students-table-container {
    overflow-x: auto;
}

.students-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.students-table th {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 15px;
    text-align: left;
    font-weight: 500;
}

.th-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.th-content i {
    font-size: 0.8rem;
    cursor: pointer;
}

.students-table td {
    padding: 15px;
    border-bottom: 1px solid var(--secondary-color);
}

.student-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.student-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.student-name {
    display: flex;
    flex-direction: column;
}

.student-name .name {
    font-weight: 500;
}

.student-name .status {
    font-size: 0.8rem;
    color: var(--text-light);
}

.student-name .status.active {
    color: #28a745;
}

.email-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.email-info i {
    font-size: 0.9rem;
}

.actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.action-btn.edit {
    color: var(--primary-color);
}

.action-btn.delete {
    color: #dc3545;
}

.action-btn.more {
    color: var(--text-light);
}

.action-btn:hover {
    background-color: var(--secondary-color);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .sidebar {
        width: 70px;
        padding: 20px 10px;
    }

    .logo span {
        display: none;
    }

    .nav-links a span {
        display: none;
    }

    .main-content {
        margin-left: 70px;
    }

    .search-bar {
        width: 200px;
    }

    .content-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .table-actions {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .search-bar {
        width: 100%;
    }

    .user-info {
        width: 100%;
        justify-content: space-between;
    }
}

/* Modern Modal ve Backdrop */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30,136,229,0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-modern {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-modern-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(30,136,229,0.15);
  padding: 32px 28px;
  min-width: 320px;
  max-width: 95vw;
  animation: modalPopIn 0.25s cubic-bezier(.4,2,.6,1) both;
}
@keyframes modalPopIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-modern .close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 1.7rem;
  color: #1e88e5;
  cursor: pointer;
  background: none;
  border: none;
} 