﻿/* Global Styles */
:root {
    --primary-color: #1a4a5f;
    --secondary-color: #2d4b4d;
    --accent-color: #c41e3a;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --military-green: #2C3639;
    --military-brown: #594545;
    --military-accent: #815B5B;
    --military-light: #DCD7C9;
    --gradient-start: #1a4a5f;
    --gradient-end: #2d4b4d;
    --gradient-overlay: linear-gradient(45deg, rgba(44, 54, 57, 0.9), rgba(89, 69, 69, 0.85));
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: #f5f7fa;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: url('../images/qk5-building.webp') center/cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 2rem;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4) );
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.anniversary-text {
    font-size: 3.2rem;
    color: #FFC857;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: titleFadeIn 1.5s ease-out;
}

.hero-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: titleFadeIn 1.5s ease-out;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: subtitleSlideUp 1.5s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    letter-spacing: 1px;
}

/* Main Content Section */
.main-content {
    padding: 5rem 0;
    background: white;
}

.content-block {
    margin-bottom: 5rem;
    position: relative;
}

    .content-block:last-child {
        margin-bottom: 0;
    }

.intro-block {
    position: relative;
    padding: 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.intro-text {
    padding-right: 2rem;
}

    .intro-text p {
        margin-bottom: 1.5rem;
    }

        .intro-text p:last-child {
            margin-bottom: 0;
        }

/* Section Title */
.section-title {
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
    text-align: center;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
        border-radius: 2px;
    }

/* Rules Block */
.rules-block {
    padding: 2rem 0;
}

    .rules-block .card {
        max-width: 600px;
        margin: 0 auto;
    }

/* Countdown Styles */
.countdown-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: countdownFadeIn 2s ease-out;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem;
    margin: 0.3rem;
    min-width: 80px;
    transition: all 0.3s ease;
}

    .countdown-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.2);
    }

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.countdown-label {
    font-size: 0.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Guide Section */
.guide-block {
    padding: 3rem 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--light-bg));
    border-radius: 20px;
}

.guide-item {
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

    .guide-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .guide-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

        .guide-item:hover::before {
            opacity: 1;
        }

    .guide-item.featured {
        background: linear-gradient(145deg, #ffffff, var(--light-bg));
        border: 2px solid var(--primary-color);
    }

.guide-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.guide-item:hover .guide-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.guide-icon i {
    color: white;
    font-size: 2.5rem;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.2));
}

.guide-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.guide-item p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
        border-color: transparent;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

    .video-container:hover {
        transform: perspective(1000px) rotateY(0deg);
        box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    }

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

    .video-overlay:hover {
        background: rgba(0,0,0,0.6);
    }

.play-button {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), #e74c3c);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

    .play-button:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

    .play-button i {
        color: white;
        font-size: 2.5rem;
        margin-left: 8px;
        filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
    }

/* Rules Card */
.card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    }

.card-body {
    padding: 2.5rem;
}

.rules-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

    .rules-icon:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .rules-icon i {
        color: white;
        font-size: 3.5rem;
        filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
    }

.card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    }

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-text {
    margin: 0;
    opacity: 0.9;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

    .social-links a:hover {
        color: var(--accent-color);
    }

/* List Styles */
.list-unstyled li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

    .list-unstyled li i {
        color: var(--accent-color);
        width: 20px;
        text-align: center;
    }

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-section, .guide-section {
    animation: fadeIn 1s ease-out;
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countdownFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 1.5rem;
    }

    .hero-content {
        padding: 0.8rem;
    }

    .anniversary-text {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .countdown-container {
        padding: 0.8rem;
        margin-top: 0.8rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
        margin-top: 0.8rem;
    }

    .main-content {
        padding: 3rem 0;
    }

    .intro-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .content-block {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .video-container {
        transform: none;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

        .play-button i {
            font-size: 2rem;
        }

    .rules-icon {
        width: 100px;
        height: 100px;
    }

        .rules-icon i {
            font-size: 3rem;
        }

    .card-body {
        padding: 1.5rem;
    }

    .countdown-container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .countdown-item {
        min-width: 100px;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .guide-block {
        padding: 2rem 0;
    }

    .guide-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .guide-icon {
        width: 70px;
        height: 70px;
    }

        .guide-icon i {
            font-size: 2rem;
        }

    .guide-item h3 {
        font-size: 1.3rem;
    }

    .footer {
        padding: 1rem 0;
        font-size: 0.8rem;
    }

    .footer-text {
        padding: 0 1rem;
        line-height: 1.6;
    }
}

/* Prize List Styles */
.prize-list {
    background: var(--light-bg);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.prize-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .prize-item:hover {
        transform: translateX(5px);
    }

    .prize-item:last-child {
        margin-bottom: 0;
    }

.prize-rank {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.prize-content {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* Button Size */
.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Guide Section Styles */
.guide-section {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.guide-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

    .step-item:hover {
        transform: translateX(10px);
        background: #f0f2f5;
    }

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

    .step-content h4 {
        color: var(--primary-color);
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .step-content p {
        margin-bottom: 0;
        color: #666;
    }

.guide-content {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

    .guide-content h4 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .guide-content p {
        color: #666;
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .guide-section {
        padding: 1.5rem;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-number {
        margin-bottom: 0.5rem;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    background: #c41e3a;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
        background: #d42e4a;
    }

/* Add hover effect for links */
a {
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--accent-color);
    }

/* Registration Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(26, 74, 95, 0.25);
    }

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.btn-secondary {
    background: #6c757d;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        background: #5a6268;
    }

.invalid-feedback {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.was-validated .form-control:invalid {
    border-color: var(--accent-color);
}

.was-validated .form-control:valid {
    border-color: #28a745;
}

@media (max-width: 768px) {
    .card {
        margin: 1rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }

        .btn-lg + .btn-lg {
            margin-left: 0 !important;
        }
}

/* Modern Registration Form Styles */
.registration-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

    .registration-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    }

    .registration-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    }

.registration-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.registration-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

    .registration-icon i {
        font-size: 1.5rem;
        color: white;
    }

.registration-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.registration-header p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.4rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .input-group:focus-within {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(26, 74, 95, 0.1);
    }

.input-group-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
}

.form-control {
    border: none;
    background: transparent;
    padding: 0.8rem 0.8rem;
    font-size: 1rem;
}

    .form-control::placeholder {
        color: #adb5bd;
    }

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-register, .btn-back {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-register {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    font-weight: 500;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        color: white;
    }

.btn-back {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
}

    .btn-back:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

@media (max-width: 768px) {
    .registration-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .registration-header h2 {
        font-size: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-register, .btn-back {
        width: 100%;
    }
}

/* Registration Section */
.registration-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

    .registration-section .container {
        position: relative;
        z-index: 1;
    }

    .registration-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('../images/qk5-building.webp') center/cover no-repeat;
        opacity: 0.1;
        z-index: 0;
    }

@media (max-width: 768px) {
    .registration-section {
        padding: 3rem 0;
    }
}

.exam-info {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .exam-info p {
        margin: 0.8rem 0;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .exam-info i {
        font-size: 1.2rem;
        color: #FFC857;
    }

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.4rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .input-group:focus-within {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(26, 74, 95, 0.1);
    }

.input-group-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
}

.form-control {
    border: none;
    background: transparent;
    padding: 0.8rem 0.8rem;
    font-size: 1rem;
}

    .form-control::placeholder {
        color: #adb5bd;
    }

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-register, .btn-back {
    flex: 1;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-register {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    font-weight: 500;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        color: white;
    }

.btn-back {
    background: #f8f9fa;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
}

    .btn-back:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

@media (max-width: 768px) {
    .exam-info {
        padding: 1rem;
    }

        .exam-info p {
            font-size: 0.9rem;
        }

    .form-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-register, .btn-back {
        width: 100%;
    }
}
