/* Registration Page Styles */

.registration-template {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

.registration-form-section {
    padding: 100px 0;
    position: relative;
    background: url('../images/registration-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
}

.registration-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.registration-form-section .container-1200 {
    position: relative;
    z-index: 2;
}


.registration-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.registration-info {
    flex: 1 1 450px;
}

.registration-form-container {
    flex: 1 1 500px;
}

.registration-info .subtitle {
    display: inline-block;
    color: #3b82f6;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.registration-info h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.registration-info p {
    font-size: 1.1rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #eee;
}

.feature-list li i {
    color: #10b981;
    font-size: 1.2rem;
}

.testimonial-snippet {
    border-left: 4px solid #3b82f6;
    padding-left: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 0 15px 15px 0;
}

.testimonial-snippet p {
    margin-bottom: 10px;
    font-style: italic;
    color: #ccc;
    font-family: 'Playfair Display', serif;
}

.testimonial-snippet .author {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
}

/* Registration Card */
.registration-card {
    background: linear-gradient(145deg, rgba(11, 24, 48, 0.85) 0%, rgba(28, 130, 197, 0.8) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6),
                inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}


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

.form-header h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
}

.form-header p {
    color: #bbbbbb;
}

.reg-form .form-row {
    display: flex;
    gap: 20px;
}

.reg-form .form-group {
    margin-bottom: 25px;
    flex: 1;
}

.reg-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #dddddd;
}

.reg-form input[type="text"],
.reg-form input[type="email"],
.reg-form input[type="tel"],
.reg-form input[type="password"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.reg-form input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s;
}

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

.newsletter-optin {
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-optin input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.newsletter-optin label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-terms {
    font-size: 0.85rem;
    color: #999999;
    margin: 20px 0;
    text-align: center;
}


.form-terms a {
    color: #3b82f6;
    text-decoration: none;
}

.btn-register-submit {
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-register-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.5);
}

.social-login {
    margin-top: 40px;
    text-align: center;
    position: relative;
}

.social-login p {
    position: relative;
    z-index: 1;
    background: #0b1830; /* Matches the start of card gradient */
    display: inline-block;
    padding: 0 15px;
    color: #999999;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.social-login::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-footer {
    text-align: center;
    margin-top: 30px;
    color: #aaaaaa;
    font-size: 0.95rem;
}

.form-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .registration-info h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .registration-wrapper {
        flex-direction: column;
    }
    
    .registration-info {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .feature-list li {
        justify-content: center;
    }
    
    .testimonial-snippet {
        border-left: none;
        border-top: 4px solid #3b82f6;
        border-radius: 15px;
    }
    
    .registration-card {
        padding: 30px 20px;
    }
    
    .reg-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.registration-template .about-ref-banner {
    background: linear-gradient(-45deg, #0f172a, #1e293b, #030712, #1e40af);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
}

/* OTP Modal Styles */
.otp-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.otp-modal.active {
    display: flex;
}

.otp-modal-content {
    background: linear-gradient(145deg, #0b1830 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.close-otp-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
}

.otp-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px;
}

.otp-modal-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.otp-modal-content p {
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.5;
}

.otp-inputs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
}

.otp-field {
    width: 45px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    transition: all 0.3s;
}

.otp-field:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

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

.btn-verify-submit {
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 18px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
}

.otp-footer {
    margin-top: 30px;
    color: #94a3b8;
}

.otp-footer a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
