﻿.registration-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    position: relative;
}

    .registration-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }

.registration-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.registration-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.registration-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.card-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

    .form-label i {
        margin-right: 0.5rem;
        color: #667eea;
    }

.input-group {
    position: relative;
}

.form-control {
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        background: white;
    }

    .form-control.is-invalid {
        border-color: #dc3545;
    }

    .form-control.is-valid {
        border-color: #28a745;
    }

.toggle-password {
    border: 2px solid #e1e5e9;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: rgba(255, 255, 255, 0.8);
}

    .toggle-password:hover {
        background: #f8f9fa;
    }

.input-feedback {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
}

.password-strength {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-text {
    color: #6c757d;
    font-size: 0.875rem;
}

.form-check {
    margin: 1rem 0;
}

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.btn-register {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    }

    .btn-register:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

.divider {
    text-align: center;
    margin: 2rem 0 1.5rem;
    position: relative;
    color: #6c757d;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e1e5e9;
    }

    .divider span {
        background: rgba(255, 255, 255, 0.95);
        padding: 0 1rem;
    }

.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    flex: 1;
    padding: 0.75rem;
    border-radius: 10px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-google:hover {
    border-color: #db4437;
    color: #db4437;
}

.btn-facebook:hover {
    border-color: #4267b2;
    color: #4267b2;
}

.login-link {
    text-align: center;
    margin-top: 1rem;
}

    .login-link p {
        color: #6c757d;
        margin: 0;
    }

.validation-summary {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    border: none;
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
}

.text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

@@media (max-width: 768px) {
    .registration-card {
        margin: 1rem;
        border-radius: 15px;
    }

    .card-header {
        padding: 1.5rem;
    }

    .card-body {
        padding: 1.5rem;
    }

    .registration-title {
        font-size: 1.5rem;
    }

    .social-login {
        flex-direction: column;
    }
}
