/* Signup Page Styles */
.signup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    background: var(--dark-bg);
}

.signup-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.signup-left {
    padding: 3rem;
}

.signup-form-container h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.signup-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--dark-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.input-group:hover,
.input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.input-group i {
    position: absolute;
    right: 15px;
    color: var(--text-secondary);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.input-group select {
    cursor: pointer;
}

.input-group select option {
    background: var(--dark-bg);
}

/* Phone Input */
.phone-input {
    display: flex;
    background: var(--dark-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.phone-input:hover,
.phone-input:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.country-code img {
    width: 25px;
    margin-left: 8px;
}

.country-code span {
    color: var(--text-secondary);
    font-weight: 500;
}

.phone-input input {
    flex: 1;
    padding: 12px 15px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.input-hint {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Password Toggle */
.toggle-password {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Password Strength */
.password-strength {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.strength-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.strength-progress {
    height: 100%;
    width: 0;
    background: var(--danger-color);
    transition: all 0.3s;
}

.strength-progress.weak {
    width: 33%;
    background: var(--danger-color);
}

.strength-progress.medium {
    width: 66%;
    background: var(--warning-color);
}

.strength-progress.strong {
    width: 100%;
    background: var(--success-color);
}

.strength-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Checkbox */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Divider */
.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    background: var(--light-bg);
    padding: 0 1rem;
    position: relative;
    color: var(--text-secondary);
}

/* Social Login */
.social-login {
    margin-bottom: 1.5rem;
}

.btn-social {
    width: 100%;
    padding: 12px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

.btn-social.google {
    margin-bottom: 10px;
}

.btn-social i {
    font-size: 1.2rem;
}

/* Login Link */
.login-link {
    text-align: center;
    color: var(--text-secondary);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Signup Right */
.signup-right {
    background: var(--gradient);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.signup-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.features-showcase {
    position: relative;
    z-index: 1;
}

.features-showcase h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.showcase-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s;
}

.showcase-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.showcase-item i {
    font-size: 2rem;
    color: white;
    width: 50px;
}

.showcase-item h4 {
    color: white;
    margin-bottom: 0.2rem;
}

.showcase-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* OTP Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    background: var(--dark-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    transition: all 0.3s;
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-verify {
    width: 100%;
    padding: 12px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-verify:hover {
    transform: translateY(-2px);
}

.resend-code {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.resend-code a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 968px) {
    .signup-container {
        grid-template-columns: 1fr;
    }

    .signup-right {
        display: none;
    }
}

@media (max-width: 480px) {
    .signup-left {
        padding: 2rem;
    }

    .signup-form-container h1 {
        font-size: 1.5rem;
    }
}
