/* ============================================
   SIGNUP & LOGIN FORM STYLES
   ZekiBeygir - Site Temasına Uygun
   ============================================ */

/* ========== SIGNUP SECTION ========== */
.gt-signup-section {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.gt-signup-section .left-shape {
    position: absolute;
    left: 0;
    bottom: 0;
    opacity: 0.1;
}

/* ========== FORM BOX ========== */
.signup-form-box {
    background: linear-gradient(145deg, #1e1e32 0%, #1a1a2e 50%, #151525 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    
    /* 3D Efekt */
    transform: perspective(1000px) rotateX(2deg) rotateY(-1deg);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Gelişmiş Gölge */
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 12px 24px -8px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Hover'da 3D Kalkma Efekti */
.signup-form-box:hover {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-8px);
    box-shadow: 
        0 35px 70px -15px rgba(0, 0, 0, 0.6),
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(230, 126, 34, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Zemin Gölgesi (Yansıma Efekti) */
.signup-form-box::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    right: 10%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 70%);
    filter: blur(10px);
    z-index: -1;
    transition: all 0.4s ease;
}

.signup-form-box:hover::before {
    bottom: -40px;
    left: 5%;
    right: 5%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, transparent 70%);
}

/* Üst Kenar Parlama Efekti */
.signup-form-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 20px 20px 0 0;
}

.signup-form-header {
    margin-bottom: 30px;
}

.signup-form-header h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.signup-form-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

/* ========== INPUT GROUP ========== */
.signup-input-group {
    position: relative;
    margin-bottom: 20px;
}

.signup-input-group i:first-child {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 16px;
    z-index: 2;
    transition: color 0.3s ease;
}

.signup-input-group input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.signup-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.signup-input-group input:focus {
    border-color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
    box-shadow: 0 0 20px rgba(230, 126, 34, 0.15);
}

.signup-input-group input:focus + i:first-child,
.signup-input-group input:focus ~ i:first-child {
    color: #e67e22;
}

/* Telefon Prefix */
.signup-input-group .phone-prefix {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
}

.signup-input-group input.has-prefix {
    padding-left: 95px;
}

/* Toggle Password */
.signup-input-group .toggle-pass {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
    z-index: 2;
}

.signup-input-group .toggle-pass:hover {
    color: #e67e22;
}

/* Error Message */
.signup-error {
    display: none;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    padding-left: 5px;
}

.signup-error.show {
    display: block;
    animation: fadeInError 0.3s ease;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.signup-input-group input.error {
    border-color: #e74c3c;
    animation: shakeError 0.5s ease;
}

.signup-input-group input.success {
    border-color: #2ecc71;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* ========== PASSWORD STRENGTH ========== */
.password-strength-wrapper {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: -15px;
    margin-bottom: 5px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.password-strength-bar.weak { width: 25%; background: #e74c3c; }
.password-strength-bar.fair { width: 50%; background: #f39c12; }
.password-strength-bar.good { width: 75%; background: #3498db; }
.password-strength-bar.strong { width: 100%; background: #2ecc71; }

.strength-text {
    display: block;
    font-size: 11px;
    margin-bottom: 15px;
    padding-left: 5px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== CHECKBOX ========== */
.signup-checkbox-wrapper {
    margin-bottom: 15px;
}

.signup-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.signup-checkbox-label input[type="checkbox"] {
    display: none;
}

.signup-checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.signup-checkbox-label input:checked + .checkmark {
    background: #e67e22;
    border-color: #e67e22;
}

.signup-checkbox-label .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.signup-checkbox-label input:checked + .checkmark::after {
    display: block;
}

.signup-checkbox-label a {
    color: #e67e22;
    text-decoration: none;
}

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

/* ========== SUBMIT BUTTON ========== */
.signup-submit-btn {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 25px;
}

.signup-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.signup-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

.signup-submit-btn:hover::before {
    left: 100%;
}

.signup-submit-btn:active {
    transform: translateY(-1px);
}

/* Loading State */
.signup-submit-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.signup-submit-btn.loading .btn-text,
.signup-submit-btn.loading i {
    visibility: hidden;
}

.signup-submit-btn .spinner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spinBtn 0.8s linear infinite;
    display: none;
}

.signup-submit-btn.loading .spinner {
    display: block;
}

@keyframes spinBtn {
    to { transform: rotate(360deg); }
}

/* ========== FORM FOOTER ========== */
.signup-form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signup-form-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

.signup-form-footer a {
    color: #e67e22;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
}

.signup-form-footer a:hover {
    text-decoration: underline;
}

/* ========== ALERT MESSAGES ========== */
.signup-alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.signup-alert.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.signup-alert.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

/* ========== FORGOT PASSWORD THEME (Mavi) ========== */
.gt-signup-section .signup-form-box.forgot-theme {
    background: linear-gradient(145deg, #2c3e50 0%, #1a252f 50%, #0d1318 100%);
}

.gt-signup-section .signup-form-box.forgot-theme:hover {
    box-shadow: 
        0 35px 70px -15px rgba(0, 0, 0, 0.6),
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(52, 152, 219, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.forgot-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e67e22, #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

/* ========== LOGIN FORM BOX (Yeşil Tema) ========== */
.gt-signup-section .signup-form-box.login-theme {
    background: linear-gradient(145deg, #1c4e2c 0%, #163d23 50%, #0f2a18 100%);
}

.gt-signup-section .signup-form-box.login-theme:hover {
    box-shadow: 
        0 35px 70px -15px rgba(0, 0, 0, 0.6),
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(28, 78, 44, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* ========== LOGIN PAGE ÖZEL STİLLER ========== */

/* Beni Hatırla & Şifremi Unuttum Satırı */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.login-options .remember-me {
    margin-bottom: 0;
}

.forgot-password {
    color: #e67e22;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #f39c12;
    text-decoration: underline;
}

/* Kilitleme Uyarısı */
.login-lockout-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
    color: #e74c3c;
    font-size: 14px;
    animation: pulseWarning 2s ease-in-out infinite;
}

.login-lockout-warning i {
    font-size: 24px;
    flex-shrink: 0;
}

@keyframes pulseWarning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Devre Dışı Buton */
.signup-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.signup-submit-btn:disabled:hover {
    transform: none;
}

/* Uyarı Alert */
.signup-alert.warning {
    background: rgba(243, 156, 18, 0.2);
    border: 1px solid rgba(243, 156, 18, 0.3);
    color: #f39c12;
}

/* ========== reCAPTCHA BADGE GİZLE ========== */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* reCAPTCHA Bilgilendirme */
.recaptcha-notice {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.recaptcha-notice a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.recaptcha-notice a:hover {
    color: #e67e22;
    text-decoration: underline;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 576px) {
    .signup-form-box {
        padding: 30px 20px;
    }
    
    .signup-form-header h3 {
        font-size: 24px;
    }
    
    .signup-input-group input {
        padding: 14px 15px 14px 45px;
        font-size: 14px;
    }
    
    .signup-input-group i:first-child {
        left: 15px;
    }
    
    .signup-input-group .phone-prefix {
        left: 45px;
    }
    
    .signup-input-group input.has-prefix {
        padding-left: 85px;
    }
}
