﻿body {
    background: #f5f7fa;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .form-container {
        padding: 15px;
        margin: 10px;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
    color: #1a237e;
    font-size: 1.75rem;
    font-weight: bold;
}

.progress-container {
    margin-bottom: 20px;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
}

.progress-bar {
    background: #1a237e;
    transition: width 0.3s ease-in-out;
}

.progress-label {
    font-size: 0.75rem;
    color: #2c3e50;
    text-align: right;
    margin-top: 5px;
}

.timer {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #dd0008;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
}

    .timer.expired {
        background: #e74c3c;
        font-weight: bold;
    }

.nav-tabs {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
}

.nav-link {
    color: #2c3e50;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s ease;
    cursor: not-allowed;
    opacity: 0.5;
}

    .nav-link.enabled {
        cursor: pointer;
        opacity: 1;
    }

    .nav-link:hover {
        background: #e9ecef;
    }

    .nav-link.active {
        background: #1a237e;
        color: #fff;
    }

.form-section {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 15px;
}

.required::after {
    content: " *";
    color: #e74c3c;
}

.form-label {
    color: #2c3e50;
    font-size: 0.85rem;
    font-weight: 500;
}

.form-control, .form-select {
    border: 1px solid #dfe6e9;
    border-radius: 4px;
    padding: 8px;
}

    .form-control:focus, .form-select:focus {
        border-color: #1a237e;
        outline: none;
    }

.error-message {
    color: #e74c3c;
    font-size: 0.75rem;
    margin-top: 4px;
}

.otp-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
}

.otp-box {
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid #dfe6e9;
    border-radius: 4px;
    font-size: 1rem;
}

    .otp-box:focus {
        border-color: #1a237e;
        outline: none;
    }

.btn-primary, .btn-success, .btn-secondary {
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.btn-primary {
    background: #1a237e;
    border: none;
}

    .btn-primary:hover {
        background: #3f51b5;
    }

.btn-success {
    background: #27ae60;
    border: none;
}

    .btn-success:hover {
        background: #2ecc71;
    }

.btn-secondary {
    background: #6c757d;
    border: none;
}

    .btn-secondary:hover {
        background: #5a6268;
    }

.btn-link {
    color: #1a237e;
}

    .btn-link:hover {
        color: #3f51b5;
        text-decoration: underline;
    }
