/* ============================================
   AUTH PAGES - MODERN PROFESSIONAL DESIGN
   Shared styles for Login, Signup, Support
   ============================================ */

/* Auth Container with Split Design */
.auth-page-wrapper {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 140px 0 100px 0;
    position: relative;
}

.auth-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Left Side - Info/Features */
.auth-info-side {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    background: rgba(0, 212, 255, 0.15);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 50px;
    color: #00d4ff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.auth-info-badge i {
    font-size: 16px;
}

.auth-info-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff;
}

.auth-info-title .gradient-text {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-info-description {
    font-size: 18px;
    line-height: 1.8;
    color: #9ca3af;
    margin-bottom: 40px;
}

.auth-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.auth-feature-item:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(10px);
}

.auth-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 12px;
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
}

.auth-feature-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.auth-feature-content p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* Right Side - Form */
.auth-form-side {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.auth-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.auth-form-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.auth-form-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

.auth-form-subtitle {
    font-size: 15px;
    color: #9ca3af;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.form-label i {
    color: #00d4ff;
    font-size: 16px;
}

.form-input-wrapper {
    position: relative;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    padding-left: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    color: #ffffff;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #00d4ff;
    font-size: 18px;
    pointer-events: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300d4ff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.form-select option {
    background: #1a1f3a;
    color: #ffffff;
    padding: 10px;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    padding-left: 20px;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #00d4ff;
}

/* Password Strength */
.password-strength {
    margin-top: 10px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.4s ease;
    border-radius: 10px;
}

.password-strength-text {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 600;
}

/* Checkbox */
.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: #00d4ff;
}

.form-checkbox-label {
    font-size: 14px;
    color: #d1d5db;
    cursor: pointer;
    line-height: 1.6;
}

.form-checkbox-label a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-checkbox-label a:hover {
    color: #7c3aed;
    text-decoration: underline;
}

/* Submit Button */
.form-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border: none;
    border-radius: 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.6);
}

.form-submit:active {
    transform: translateY(-1px);
}

/* Form Links */
.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-link:hover {
    color: #7c3aed;
    transform: translateX(3px);
}

/* Alert Messages */
.alert {
    padding: 18px 20px;
    border-radius: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.alert i {
    font-size: 20px;
}

/* Divider */
.form-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.form-divider span {
    color: #9ca3af;
    font-size: 14px;
}

/* Social Login */
.social-login-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.social-btn {
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

/* Support Info Boxes */
.support-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.support-info-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-info-box:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

.support-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    border-radius: 50%;
    font-size: 32px;
    color: #ffffff;
}

.support-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.support-info-text {
    font-size: 14px;
    color: #9ca3af;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .auth-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .auth-info-side {
        text-align: center;
    }
    
    .auth-info-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .auth-feature-item {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .auth-page-wrapper {
        padding: 120px 0 80px 0;
    }
    
    .auth-split-container {
        padding: 0 20px;
    }
    
    .auth-info-title {
        font-size: 36px;
    }
    
    .auth-form-container {
        padding: 35px 25px;
    }
    
    .form-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .social-login-buttons {
        grid-template-columns: 1fr;
    }
    
    .support-info-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .auth-info-title {
        font-size: 28px;
    }
    
    .auth-form-title {
        font-size: 24px;
    }
    
    .form-input,
    .form-select {
        padding: 14px 18px;
        padding-left: 45px;
        font-size: 14px;
    }
}
