/* AdmissionPlex - Modern Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0a1628;
    --bg-darker: #060f1d;
    --bg-card: rgba(16, 32, 56, 0.6);
    --bg-card-hover: rgba(20, 40, 70, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --gradient-start: #06d6a0;
    --gradient-end: #118ab2;
    --accent-gradient: linear-gradient(135deg, #06d6a0 0%, #118ab2 100%);
    --btn-gradient: linear-gradient(135deg, #06d6a0 0%, #0cb087 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Pattern */
.page-wrapper {
    min-height: 100vh;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(6, 214, 160, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(17, 138, 178, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

/* Grid Pattern Overlay */
.page-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.main-content {
    position: relative;
    z-index: 1;
}

/* ==================== NAVBAR ==================== */
.navbar {
    padding: 1rem 0;
    background: transparent !important;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.navbar-brand .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand .brand-icon i {
    color: white;
    font-size: 1.2rem;
}

.navbar-brand .brand-text-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.1);
}

.btn-get-started {
    background: transparent;
    border: 2px solid var(--gradient-start);
    color: var(--gradient-start) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-get-started:hover {
    background: var(--btn-gradient);
    border-color: transparent;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.3);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 2rem;
    color: var(--gradient-start);
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-badge i {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: var(--btn-gradient);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 214, 160, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-3px);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 0 0 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(6, 214, 160, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==================== SECTION STYLES ==================== */
.section {
    padding: 80px 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--gradient-start);
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title .gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ==================== CARDS ==================== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(6, 214, 160, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Assessment Cards */
.assessment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.assessment-card.featured {
    border-color: var(--gradient-start);
}

.assessment-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--btn-gradient);
}

.assessment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.assessment-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--btn-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Career Cards */
.career-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.career-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: rgba(6, 214, 160, 0.3);
}

.career-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.career-icon.science { background: rgba(67, 97, 238, 0.2); color: #4361ee; }
.career-icon.commerce { background: rgba(6, 214, 160, 0.2); color: #06d6a0; }
.career-icon.arts { background: rgba(255, 193, 7, 0.2); color: #ffc107; }

.career-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.career-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ==================== QUIZ PAGE ==================== */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.quiz-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.quiz-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--btn-gradient);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.quiz-question {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option, .option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quiz-option:hover, .option-card:hover {
    border-color: rgba(6, 214, 160, 0.5);
    background: rgba(6, 214, 160, 0.1);
}

.quiz-option.selected, .option-card.selected {
    border-color: var(--gradient-start);
    background: rgba(6, 214, 160, 0.15);
}

.option-letter {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.quiz-option.selected .option-letter,
.option-card.selected .option-letter {
    background: var(--btn-gradient);
    color: white;
}

.option-content {
    flex: 1;
    font-size: 1rem;
}

/* Likert Scale */
.likert-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.likert-item {
    flex: 1;
    min-width: 100px;
    padding: 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.likert-item:hover {
    border-color: rgba(6, 214, 160, 0.5);
}

.likert-item.selected {
    border-color: var(--gradient-start);
    background: rgba(6, 214, 160, 0.15);
}

/* ==================== ASSESSMENT PAGES ==================== */
.test-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.test-card:hover {
    background: var(--bg-card-hover);
}

.test-card.locked {
    opacity: 0.5;
}

.test-card.available {
    border-color: var(--gradient-start);
}

.test-card.completed {
    border-color: rgba(6, 214, 160, 0.5);
}

/* Timer */
.timer {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.timer.text-danger {
    border-color: #ef476f;
    color: #ef476f;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Question Navigator */
.question-navigator {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-dot {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-dot:hover {
    border-color: rgba(6, 214, 160, 0.5);
}

.nav-dot.current {
    background: var(--btn-gradient);
    border-color: transparent;
    color: white;
}

.nav-dot.answered {
    background: rgba(6, 214, 160, 0.3);
    border-color: var(--gradient-start);
}

/* ==================== REPORT PAGE ==================== */
.report-header {
    background: var(--accent-gradient);
    padding: 3rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.report-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.report-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-bar {
    margin-bottom: 1rem;
}

.profile-bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.profile-bar-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-bar-value {
    font-weight: 600;
    color: var(--gradient-start);
}

.profile-bar-track {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.profile-bar-fill {
    height: 100%;
    background: var(--btn-gradient);
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer h6 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gradient-start);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--btn-gradient);
    border-color: transparent;
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==================== FORMS ==================== */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.15);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* ==================== BUTTONS ==================== */
.btn {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--btn-gradient);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.3);
    color: white;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--gradient-start);
    color: var(--gradient-start);
}

.btn-outline-primary:hover {
    background: var(--btn-gradient);
    border-color: transparent;
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* ==================== BADGES ==================== */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.8rem;
}

.badge.bg-primary { background: rgba(67, 97, 238, 0.2) !important; color: #4361ee; }
.badge.bg-success { background: rgba(6, 214, 160, 0.2) !important; color: #06d6a0; }
.badge.bg-warning { background: rgba(255, 193, 7, 0.2) !important; color: #ffc107; }
.badge.bg-danger { background: rgba(239, 71, 111, 0.2) !important; color: #ef476f; }
.badge.bg-secondary { background: rgba(255, 255, 255, 0.1) !important; color: var(--text-secondary); }

/* ==================== ADMIN PANEL ==================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--bg-darker);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
    width: 260px;
    padding: 1.5rem;
}

.admin-sidebar .sidebar-brand {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-sidebar .nav-link {
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(6, 214, 160, 0.1);
    color: var(--gradient-start);
}

.admin-sidebar .nav-link i {
    width: 20px;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    background: var(--bg-dark);
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.admin-card .card-header {
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-card .stats-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stats-card .stats-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.stats-card .stats-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    border-color: var(--gradient-start);
    color: var(--text-primary);
}

.quick-action-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gradient-start);
}

/* ==================== TABLES ==================== */
.table {
    color: var(--text-primary);
}

.table thead th {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* ==================== MODAL ==================== */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
}

.btn-close {
    filter: invert(1);
}

/* ==================== ALERTS ==================== */
.alert {
    border-radius: 12px;
    border: none;
}

.alert-success {
    background: rgba(6, 214, 160, 0.15);
    color: var(--gradient-start);
}

.alert-danger {
    background: rgba(239, 71, 111, 0.15);
    color: #ef476f;
}

/* ==================== PROGRESS BARS ==================== */
.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: var(--btn-gradient);
}

/* Progress Circle */
.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--gradient-start) calc(var(--progress) * 3.6deg), rgba(255,255,255,0.1) 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-circle::before {
    content: '';
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--bg-card);
    position: absolute;
}

.progress-value {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: bold;
    color: var(--gradient-start);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-sidebar {
        width: 80px;
        padding: 1rem 0.5rem;
    }
    
    .admin-sidebar .nav-link span,
    .admin-sidebar .sidebar-brand h5,
    .admin-sidebar .sidebar-brand small {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quiz-card {
        padding: 1.5rem;
    }
    
    .quiz-question {
        font-size: 1.25rem;
    }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbar, .footer, .btn, .no-print {
        display: none !important;
    }
    
    .report-section {
        background: white;
        border: 1px solid #ddd;
    }
}

/* Career Suggestion Card */
.career-suggestion-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.career-suggestion-card:hover {
    transform: translateY(-3px);
    border-color: var(--gradient-start);
    background: rgba(168, 85, 247, 0.1);
}

/* ==================== GLOBAL FORM CONTROLS ==================== */
/* Fix for all dropdowns/select elements */
.form-select,
select.form-control,
.dark-select,
.dark-dropdown {
    background-color: #0d1f35 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-select:focus,
select.form-control:focus,
.dark-select:focus,
.dark-dropdown:focus {
    background-color: #0d1f35 !important;
    color: #ffffff !important;
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 2px rgba(6, 214, 160, 0.15);
}

.form-select option,
select.form-control option,
.dark-select option,
.dark-dropdown option {
    background-color: #0d1f35 !important;
    color: #ffffff !important;
    padding: 10px;
}

/* Form control styling */
.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--gradient-start);
    color: var(--text-primary);
    box-shadow: 0 0 0 2px rgba(6, 214, 160, 0.15);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Admin panel specific form styling */
.admin-card .form-select,
.admin-card select.form-control,
.modal-content .form-select,
.modal-content select.form-control {
    background-color: #0d1f35 !important;
    color: #ffffff !important;
}

.admin-card .form-select option,
.admin-card select.form-control option,
.modal-content .form-select option,
.modal-content select.form-control option {
    background-color: #0d1f35 !important;
    color: #ffffff !important;
}

/* Responsive option fields fix */
.option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
}

.option-row .form-control {
    flex: 1;
    min-width: 150px;
}

.option-row input[type="number"] {
    width: 80px !important;
    flex: 0 0 80px;
}

.option-row .btn {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .option-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .option-row .form-control,
    .option-row input[type="number"] {
        width: 100% !important;
        flex: none;
    }
}

