/* VSİAS GES/RES — Giriş Sayfası Stili */

.vsias-login-page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0c4a6e 100%);
    padding: 24px;
}

/* --- ARKA PLAN SAHNE KATMANI --- */
.weather-stage { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.weather-dark-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0);
    transition: background 2s ease; pointer-events: none;
}
.weather-dark-overlay.active { background: rgba(0,0,0,.25); }

.weather-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 2.5s ease; pointer-events: none; }
.weather-scene.active { opacity: 1; }

/* Güneş sahnesi (GES) */
.scene-sun .sun-glow {
    position: absolute; top: 8%; right: 12%;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(253,224,71,.55) 0%, rgba(253,224,71,0) 70%);
    filter: blur(4px);
    animation: sunPulse 6s ease-in-out infinite;
}
@keyframes sunPulse {
    0%, 100% { transform: scale(1); opacity: .8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Rüzgar sahnesi (RES) — sağa süzülen ince çizgiler */
.wind-line {
    position: absolute; left: -140px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.5), rgba(255,255,255,0));
    animation: windDrift linear infinite;
}
@keyframes windDrift {
    from { transform: translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    to   { transform: translateX(calc(100vw + 140px)); opacity: 0; }
}

/* --- LOGIN KUTUSU --- */
.login-wrapper {
    position: relative; z-index: 1;
    background: rgba(255,255,255,.97);
    border-radius: 18px;
    width: 100%; max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    overflow: hidden;
}
.login-wrapper.wide { max-width: 620px; }

.login-header { text-align: center; padding: 32px 32px 16px; }
.site-logo { height: 48px; margin-bottom: 12px; }
.login-header h1 { font-size: 19px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.login-header p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.5; }

.login-body { padding: 8px 32px 32px; }

.session-expired-msg, .login-error-msg, .login-success-msg {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px;
}
.session-expired-msg { background: #fef3c7; color: #92400e; }
.login-error-msg { background: #fee2e2; color: #b91c1c; }
.login-success-msg { background: #dcfce7; color: #15803d; }

.tab-switcher { display: flex; border-bottom: 1px solid #e5e7eb; margin-bottom: 20px; }
.tab-switcher a {
    flex: 1; text-align: center; padding: 10px; font-size: 14px; font-weight: 600;
    color: #94a3b8; text-decoration: none; border-bottom: 2px solid transparent;
}
.tab-switcher a.active { color: #0f172a; border-bottom-color: #16a34a; }

.input-group { margin-bottom: 16px; }
.input-group label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.input-group .required { color: #dc2626; }

.input-wrapper { position: relative; }
.input-wrapper .field-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 14px;
}
.input-wrapper .toggle-password {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; cursor: pointer;
}

.input-group input[type="text"], .input-group input[type="email"], .input-group input[type="password"], .input-group textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px;
    box-sizing: border-box;
}
.input-wrapper input[type="text"], .input-wrapper input[type="email"], .input-wrapper input[type="password"] {
    padding-left: 36px;
}
.input-wrapper .toggle-password ~ input, .input-wrapper input:has(~ .toggle-password) { padding-right: 36px; }

.form-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 13px; }
.remember-me { display: flex; align-items: center; gap: 6px; color: #6b7280; }
.forgot-password { color: #16a34a; text-decoration: none; }

.btn-submit {
    width: 100%; padding: 12px; border: none; border-radius: 8px;
    background: #16a34a; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: #15803d; }
.btn-submit.btn-admin { background: #1e293b; }
.btn-submit.btn-admin:hover { background: #0f172a; }

.register-link { text-align: center; font-size: 13px; color: #6b7280; margin-top: 16px; }
.register-link a { color: #16a34a; font-weight: 600; text-decoration: none; }

.account-type-switch { display: flex; gap: 8px; margin-bottom: 20px; }
.account-type-switch button {
    flex: 1; padding: 9px; border: 1px solid #d1d5db; background: #fff; border-radius: 8px;
    font-size: 13px; font-weight: 600; color: #6b7280; cursor: pointer;
}
.account-type-switch button.active { background: #16a34a; color: #fff; border-color: #16a34a; }

.form-section-title { font-size: 13px; font-weight: 700; color: #374151; margin: 20px 0 12px; text-transform: uppercase; }
.form-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.form-grid-2col .full-width { grid-column: 1 / -1; }

@media (max-width: 480px) {
    .login-header, .login-body { padding-left: 20px; padding-right: 20px; }
    .form-grid-2col { grid-template-columns: 1fr; }
}
