/* 
 * BorsaPin Premium Auth CSS
 * Login, Register ve Forgot Password sayfaları için özel lüks görünüm.
 */

body.auth-page {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 40%, #1e293b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Source Sans Pro', 'Inter', -apple-system, sans-serif;
    color: #f1f5f9;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Arka plan dekoratif elementleri */
body.auth-page::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body.auth-page::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.auth-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

/* Glassmorphism Kart Tasarımı */
.auth-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-logo {
    text-align: center;
    margin-bottom: 25px;
}

.auth-logo img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 15px;
    background: #0b1120;
    padding: 4px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

/* Form Elemanları */
.auth-form-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 10;
    transition: color 0.3s ease;
}

.auth-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 14px 16px 14px 44px !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    height: auto !important;
}

.auth-input::placeholder {
    color: #64748b !important;
}

.auth-input:focus {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1) !important;
    outline: none !important;
}

.auth-input:focus + .auth-input-icon,
.auth-form-group:focus-within .auth-input-icon {
    color: #38bdf8;
}

/* Butonlar */
.auth-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    padding: 14px;
    width: 100%;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.auth-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e2e8f0;
    padding: 12px;
    width: 100%;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.auth-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
}

/* Linkler */
.auth-link {
    color: #38bdf8;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #7dd3fc;
    text-decoration: none;
}

/* Hata ve Başarı Uyarıları */
.auth-alert {
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid transparent;
}

.auth-alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.auth-alert-warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fcd34d;
}

.auth-alert .close {
    color: inherit;
    text-shadow: none;
    opacity: 0.8;
}

.auth-alert .close:hover {
    opacity: 1;
}

.auth-footer-text {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 25px;
}
