:root {
    --primary: #0056b3;
    --primary-light: #e6f0ff;
    --secondary: #ffc107;
    --accent: #5856d6;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffecb5;
    --info: #17a2b8;
    --dark: #212529;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --shadow-sm: 0 .125rem .25rem rgba(0,0,0,.075);
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,.175);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f0f2f5;
    color: var(--dark);
    line-height: 1.6;
}

/* Authentication Layout */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0056b3 0%, #002d5e 100%);
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.auth-logo {
    display: block;
    margin: 0 auto 1.5rem;
    max-width: 120px;
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 700;
}

.sticky-program-header { position: sticky; top: 0; background: #fff; z-index: 1000; padding: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); width: 100%; }
/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding: 2rem;
}

.navbar {
    background-color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Specific UI Components */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Red Flag for Manual Educators */
.lecturer-manual {
    color: var(--danger);
    font-weight: bold;
}

/* Table Design */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: var(--gray-100);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
}

.table-responsive .table {
    min-width: 900px; /* Mobilde tablonun daralmasını engeller */
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .dashboard-container {
        display: block !important;
    }

    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 280px !important;
        height: 100vh !important;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out !important;
        z-index: 9999 !important;
        background: white !important;
        box-shadow: 10px 0 30px rgba(0,0,0,0.3) !important;
        display: flex !important;
        flex-direction: column !important;
        visibility: visible !important;
    }

    .sidebar.active {
        transform: translateX(0) !important;
    }

    .main-content {
        padding: 10px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .navbar {
        padding: 10px !important;
        margin-bottom: 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .mobile-toggle {
        display: flex !important;
        background: var(--primary-light) !important;
        color: var(--primary) !important;
        width: 45px !important;
        height: 45px !important;
        border-radius: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1.4rem !important;
        cursor: pointer !important;
    }

    .user-name-hide-mobile {
        display: none !important;
    }

    .mobile-close {
        display: block !important;
    }

    .select2-container {
        max-width: 140px !important;
    }
}

.mobile-toggle {
    display: none;
}


/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.sidebar-overlay.active {
    display: block;
}

/* New Rich Text Area for Aims/Goals */
.rich-text-area {
    min-height: 150px;
}
