* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Section - Background Image */
.left-section {
    flex: 1;
    background-image: url('assets/main.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
}

/* Right Section - Login Form */
.right-section {
    flex: 0 0 480px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

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

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    max-width: 280px;
    height: auto;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    padding: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Form Styling */
.login-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.password-icon {
    margin-left: 5px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-input:focus {
    border-color: #3b82f6;
}

.form-input::placeholder {
    color: #9ca3af;
}



/* Buttons */
.button-group {
    margin-top: 24px;
}

.btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-login {
    background: #14b8a6;
    color: white;
}

.btn-login:hover {
    background: #0d9488;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

/* Results Section */
.results-section {
    margin-top: 30px;
    animation: fadeInUp 0.4s ease;
}

.student-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
}

.result-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #14b8a6;
}

.details-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #4b5563;
    min-width: 140px;
    font-size: 13px;
}

.detail-value {
    color: #1f2937;
    font-size: 13px;
    flex: 1;
}

.verify-button-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn-verify {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    padding: 14px 24px;
}

.btn-verify:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.btn-verify:active {
    transform: translateY(0);
}

.btn-verify.playing {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    animation: pulse 1.5s ease-in-out infinite;
}

/* Error Section */
.error-section {
    margin-top: 30px;
    animation: fadeInUp 0.4s ease;
}

.error-card {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}

.error-card svg {
    color: #ef4444;
    margin-bottom: 16px;
}

.error-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #991b1b;
    margin: 0 0 8px 0;
}

.error-card p {
    font-size: 14px;
    color: #7f1d1d;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    }

    50% {
        box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
    }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .right-section {
        flex: 0 0 420px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left-section {
        display: none;
    }

    .right-section {
        flex: 1;
        padding: 20px;
    }

    .logo {
        max-width: 240px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .right-section {
        padding: 16px;
    }

    .login-container {
        max-width: 100%;
    }

    .logo {
        max-width: 200px;
    }

    .role-options {
        gap: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    animation: fadeIn 0.5s ease;
}