:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #198754;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
}

.main-content {
    min-height: calc(100vh - 300px);
}

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 50%, #084298 100%);
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    border-bottom: none;
    font-weight: 600;
}

.faculty-card {
    border-left: 4px solid var(--primary-color);
}

.department-card {
    border-left: 4px solid var(--accent-color);
}

.course-card {
    border-left: 4px solid var(--secondary-color);
}

.exchange-card {
    border-left: 4px solid #ffc107;
}

.stats-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.stats-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stats-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.stats-card .label {
    font-size: 1rem;
    color: var(--secondary-color);
}

.breadcrumb-container {
    background-color: var(--light-color);
    padding: 15px 0;
    margin-bottom: 30px;
}

.course-info-table th {
    width: 40%;
    background-color: var(--light-color);
}

.semester-badge {
    font-size: 0.85rem;
    padding: 5px 15px;
}

.ects-badge {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.credit-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}

.tab-content {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 0.375rem 0.375rem;
}

.learning-outcome-item {
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.learning-outcome-item .number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.weekly-topic-item {
    padding: 10px 15px;
    border-left: 3px solid var(--primary-color);
    background-color: var(--light-color);
    margin-bottom: 8px;
    border-radius: 0 5px 5px 0;
}

.weekly-topic-item .week {
    font-weight: 600;
    color: var(--primary-color);
}

.exchange-program-section {
    padding: 40px 0;
}

.exchange-program-section:nth-child(even) {
    background-color: var(--light-color);
}

.admin-sidebar {
    background-color: var(--dark-color);
    min-height: calc(100vh - 56px);
    padding: 20px 0;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 0;
    white-space: nowrap;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.admin-sidebar .nav-link i {
    width: 24px;
    text-align: center;
    margin-right: 10px;
}

.admin-sidebar .text-muted {
    color: rgba(255, 255, 255, 0.45) !important;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
    cursor: default;
}

.admin-sidebar .text-muted:hover {
    background: none !important;
    color: rgba(255, 255, 255, 0.45) !important;
}

.admin-content {
    padding: 30px;
    min-width: 0;
    overflow-x: hidden;
}

.admin-stat-card {
    padding: 25px;
    border-radius: 10px;
    color: white;
    text-align: center;
}

.admin-stat-card.bg-primary { background: linear-gradient(135deg, #0d6efd, #0a58ca); }
.admin-stat-card.bg-success { background: linear-gradient(135deg, #198754, #157347); }
.admin-stat-card.bg-warning { background: linear-gradient(135deg, #ffc107, #ffca2c); color: #212529; }
.admin-stat-card.bg-info { background: linear-gradient(135deg, #0dcaf0, #0aa2c0); }

.admin-stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
}

.admin-stat-card .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.table-action-btn {
    padding: 5px 10px;
    font-size: 0.85rem;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
}

.login-card {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.login-header {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: white;
    text-align: center;
    padding: 30px;
}

.login-header i {
    font-size: 3rem;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stats-card .number {
        font-size: 2rem;
    }
}
