/* Registration Page Styles */

.registration-container {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    width: 100%;
    position: relative;
    margin: 40px auto;
}

.registration-header {
    text-align: center;
    margin-bottom: 40px;
}

.registration-title {
    font-family: "Fjalla One", serif;
    font-size: 42px;
    color: white;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.registration-subtitle {
    font-family: "Caveat Brush", serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Fjalla One", serif;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: linear-gradient(145deg, #7D3131, #a04141);
    border-color: #7D3131;
    color: white;
    box-shadow: 0 0 20px rgba(125, 49, 49, 0.5);
}

.progress-step.completed .step-circle {
    background: linear-gradient(145deg, #28a745, #20c997);
    border-color: #28a745;
    color: white;
}

.step-label {
    margin-top: 10px;
    font-family: "Caveat Brush", serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.progress-step.active .step-label {
    color: white;
    font-weight: bold;
}

.progress-line {
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
    margin-bottom: 30px;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInSlide 0.5s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Sections */
.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-family: "Fjalla One", serif;
    font-size: 24px;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(125, 49, 49, 0.5);
}

/* Form Controls */
.form-label {
    font-family: "Caveat Brush", serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    padding: 12px 15px;
    font-family: "Caveat Brush", serif;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #7D3131;
    box-shadow: 0 0 0 0.2rem rgba(125, 49, 49, 0.25);
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select option {
    background: #1A1A1A;
    color: white;
}

.invalid-feedback {
    font-family: "Caveat Brush", serif;
    font-size: 14px;
    color: #ff6b6b;
    margin-top: 5px;
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #ff6b6b;
}

/* Helper Text */
.form-text {
    font-family: "Caveat Brush", serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-top: 5px;
}

/* Password Toggle */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #000000;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #333333;
}

/* Terms Container */
.terms-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    font-family: "Caveat Brush", serif;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.terms-loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.6);
}

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 20px;
    height: 20px;
}

.form-check-input:checked {
    background-color: #7D3131;
    border-color: #7D3131;
}

.form-check-label {
    font-family: "Caveat Brush", serif;
    color: rgba(255, 255, 255, 0.9);
    margin-left: 10px;
}

/* Verification Section */
.verification-section {
    text-align: center;
    padding: 40px 20px;
}

.verification-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(145deg, #7D3131, #a04141);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(125, 49, 49, 0.3);
}

.verification-icon i {
    font-size: 48px;
    color: white;
}

.verification-title {
    font-family: "Fjalla One", serif;
    font-size: 32px;
    color: white;
    margin-bottom: 15px;
}

.verification-text {
    font-family: "Caveat Brush", serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Code Input */
.code-input-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.code-input {
    width: 60px;
    height: 70px;
    font-size: 32px;
    font-family: "Fjalla One", serif;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
}

.code-input:focus {
    outline: none;
    border-color: #7D3131;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 0.2rem rgba(125, 49, 49, 0.25);
}

.verification-feedback {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    font-family: "Caveat Brush", serif;
    font-size: 16px;
}

.verification-feedback.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #28a745;
}

.verification-feedback.error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.5);
    color: #ff6b6b;
}

.verification-feedback.warning {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffc107;
}

.verification-actions {
    margin: 30px 0;
}

.verification-info {
    margin-top: 30px;
}

.verification-info p {
    font-family: "Caveat Brush", serif;
    font-size: 14px;
    margin: 5px 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 15px;
}

.btn {
    font-family: "Fjalla One", serif;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 16px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(145deg, #7D3131, #a04141);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(125, 49, 49, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-link {
    background: none;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    padding: 10px 20px;
}

.btn-link:hover {
    color: white;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay.active {
    display: flex;
}

/* Responsive Design */
@media (max-width: 768px) {
    .registration-container {
        padding: 30px 20px;
        margin: 20px;
    }

    .registration-title {
        font-size: 32px;
    }

    .registration-subtitle {
        font-size: 16px;
    }

    .progress-indicator {
        padding: 0 10px;
    }

    .progress-line {
        width: 40px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .step-label {
        font-size: 12px;
    }

    .section-title {
        font-size: 20px;
    }

    .code-input {
        width: 50px;
        height: 60px;
        font-size: 28px;
    }

    .code-input-container {
        gap: 10px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .registration-title {
        font-size: 28px;
    }

    .code-input {
        width: 45px;
        height: 55px;
        font-size: 24px;
    }
}
