﻿.registration-container {
    max-width: 450px;
    margin: 3rem auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.form-title {
    color: #2563eb;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.form-body {
    padding: 0 2rem 2rem;
}

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

    .form-control:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        background-color: white;
    }

    .form-control.error {
        border-color: #dc2626;
        background-color: #fef2f2;
    }

    .form-control.valid {
        border-color: #059669;
        background-color: #f0fdf4;
    }

.error-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.promotion-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .promotion-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }

.checkbox-container {
    margin: 1.5rem 0;
}

.form-check {
    margin-bottom: 0.75rem;
}

.form-check-input {
    border: 2px solid #d1d5db;
    border-radius: 4px;
}

    .form-check-input:checked {
        background-color: #2563eb;
        border-color: #2563eb;
    }

.form-check-label {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
}

    .form-check-label a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 500;
    }

        .form-check-label a:hover {
            text-decoration: underline;
        }

.recaptcha-container {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #fafafa;
}

.btn-register {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

    .btn-register:hover {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
        color: white;
    }

    .btn-register:disabled {
        background: #9ca3af;
        transform: none;
        box-shadow: none;
        cursor: not-allowed;
    }

.login-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.login-text {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.login-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

    .login-link:hover {
        text-decoration: underline;
        color: #1d4ed8;
    }

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

    .password-toggle:hover {
        color: #374151;
    }

.password-field {
    position: relative;
}

@media (max-width: 576px) {
    .registration-container {
        margin: 1rem;
        border-radius: 8px;
    }

    .form-header, .form-body {
        padding: 1.5rem;
    }
}
