﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.registration-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #203f66 0%, #85d293 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.registration-wrapper {
    width: 100%;
    max-width: 600px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.registration-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
.registration-header {
    background: #274164;
    padding: 32px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.logo-text h1 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

/* Content */
.registration-content {
    padding: 40px 32px;
}

    .registration-content h2 {
        color: #212529;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 8px;
        text-align: center;
    }

.subtitle {
    color: #6c757d;
    font-size: 15px;
    text-align: center;
    margin-bottom: 32px;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

    .form-group label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        color: #495057;
        font-weight: 600;
        font-size: 14px;
    }

.label-icon {
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

    .form-control:focus {
        outline: none;
        border-color: #667eea;
        background: white;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    }

    .form-control::placeholder {
        color: #adb5bd;
    }

.validation-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

/* Alert */
.alert-danger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.alert-icon {
    font-size: 18px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #203f66 0%, #85d293 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(32, 63, 102, 0.3);
}

    .btn-submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(32, 63, 102, 0.4);
    }

    .btn-submit:active:not(:disabled) {
        transform: translateY(0);
    }

    .btn-submit:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.button-icon {
    font-size: 20px;
}

.spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: 0.2em;
    border-style: solid;
    border-color: currentColor transparent currentColor transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Footer */
.registration-footer {
    padding: 24px 32px;
    background: #f8f9fa;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #85d293;
    font-size: 14px;
    color: #6c757d;
}

.info-icon {
    font-size: 20px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .registration-header {
        padding: 24px 20px;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-text h1 {
        font-size: 24px;
    }

    .registration-content {
        padding: 32px 20px;
    }

        .registration-content h2 {
            font-size: 24px;
        }

    .registration-footer {
        padding: 20px;
    }
}

/* Validation Summary Styling */
.validation-summary {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
}

    .validation-summary ul {
        margin: 0;
        padding-left: 20px;
    }


