/* ========== SATICI GİRİŞ SAYFASI CSS ========== */

/* Ana Layout */
.sgiris-main {
    background: #f4f6f9;
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 134px);
}

.sgiris-container {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

/* ========== SOL PANEL ========== */
.sgiris-sol-panel {
    flex: 0 0 44%;
    background:
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.88) 0%,
            rgba(20, 30, 48, 0.92) 50%,
            rgba(10, 18, 30, 0.95) 100%
        ),
        url("../images/giris_kayit_resimleri/giris_kayit_background.jpg") center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding: 56px 52px;
    align-self: flex-start;
}

.sgiris-sol-inner {
    position: relative;
    z-index: 2;
    max-width: 400px;
}

/* Animasyonlu arka plan efektleri */
.sgiris-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.sgiris-bg-glow-1 {
    width: 320px;
    height: 320px;
    background: #ff6600;
    top: -80px;
    right: -80px;
    animation: glowHareket 8s ease-in-out infinite alternate;
}

.sgiris-bg-glow-2 {
    width: 240px;
    height: 240px;
    background: #3b82f6;
    bottom: 40px;
    left: -60px;
    animation: glowHareket 10s ease-in-out infinite alternate-reverse;
}

.sgiris-bg-glow-3 {
    width: 180px;
    height: 180px;
    background: #10b981;
    top: 50%;
    right: 20px;
    animation: glowHareket 12s ease-in-out infinite alternate;
}

@keyframes glowHareket {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(20px, 20px) scale(1.1); }
}

/* Grid pattern overlay */
.sgiris-sol-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Sol panel içerik */
.sgiris-sol-logo {
    margin-bottom: 40px;
}

.sgiris-sol-logo img {
    height: 38px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.sgiris-sol-rozet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 102, 0, 0.18);
    border: 1px solid rgba(255, 102, 0, 0.35);
    color: #ff8533;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sgiris-sol-baslik {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 16px;
}

.sgiris-sol-baslik span {
    color: #ff6600;
}

.sgiris-sol-aciklama {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 36px;
}

.sgiris-avantajlar {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sgiris-avantajlar li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 500;
}

.sgiris-avantaj-ikon {
    width: 36px;
    height: 36px;
    background: rgba(255, 102, 0, 0.15);
    border: 1px solid rgba(255, 102, 0, 0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6600;
    font-size: 16px;
    flex-shrink: 0;
}

/* ========== SAĞ PANEL ========== */
.sgiris-sag-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    min-height: 100vh;
    background: #ffffff;
}

.sgiris-form-kutu {
    width: 100%;
    max-width: 440px;
}

/* Üst logo (mobil için) */
.sgiris-mobil-logo {
    display: none;
    text-align: center;
    margin-bottom: 28px;
}

.sgiris-mobil-logo img {
    height: 32px;
}

/* Form başlık */
.sgiris-form-ikon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.3);
}

.sgiris-form-baslik {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.sgiris-form-alt {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 32px;
}

/* Input grup */
.sgiris-input-grup {
    margin-bottom: 18px;
}

.sgiris-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 7px;
}

.sgiris-input-wrap {
    position: relative;
}

.sgiris-input-ikon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.sgiris-input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
}

.sgiris-input:focus {
    border-color: #ff6600;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.12);
}

.sgiris-sifre-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.2s;
}

.sgiris-sifre-toggle:hover {
    color: #ff6600;
}

/* Hata mesajı */
.sgiris-hata-mesaj {
    display: none;
    color: #ef4444;
    font-size: 11.5px;
    font-weight: 500;
    margin-top: 4px;
}

.sgiris-input-hata {
    border-color: #ef4444 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

/* Beni hatırla & Şifremi unuttum */
.sgiris-alt-satir {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}

.sgiris-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.sgiris-checkbox-wrap input[type="checkbox"] {
    display: none;
}

.sgiris-checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    background: #ffffff;
}

.sgiris-checkbox-wrap input[type="checkbox"]:checked + .sgiris-checkbox-custom {
    background: #ff6600;
    border-color: #ff6600;
}

.sgiris-checkbox-wrap input[type="checkbox"]:checked + .sgiris-checkbox-custom::after {
    content: "";
    width: 5px;
    height: 9px;
    border: 2px solid #ffffff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
    display: block;
}

.sgiris-checkbox-text {
    font-size: 13px;
    color: #374151;
}

.sgiris-sifre-unut {
    font-size: 13px;
    color: #ff6600;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.sgiris-sifre-unut:hover {
    color: #e55a00;
    text-decoration: underline;
}

/* Giriş butonu */
.sgiris-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.35);
    margin-bottom: 24px;
}

.sgiris-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 102, 0, 0.45);
}

.sgiris-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Ayraç */
.sgiris-ayrac {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #94a3b8;
    font-size: 12.5px;
}

.sgiris-ayrac::before,
.sgiris-ayrac::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

/* Alt link */
.sgiris-alt-link {
    text-align: center;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 16px;
}

.sgiris-alt-link a {
    color: #ff6600;
    font-weight: 600;
    text-decoration: none;
}

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

/* Footer linkler */
.sgiris-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.sgiris-footer-links a {
    font-size: 11.5px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.sgiris-footer-links a:hover {
    color: #ff6600;
}

/* Genel hata kutusu */
.sgiris-genel-hata {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 18px;
    display: none;
    align-items: center;
    gap: 8px;
}

.sgiris-genel-hata.goster {
    display: flex;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .sgiris-sol-panel {
        flex: 0 0 40%;
        padding: 40px 36px;
    }
    .sgiris-sol-baslik {
        font-size: 26px;
    }
}

@media (max-width: 800px) {
    .sgiris-container {
        flex-direction: column;
    }
    .sgiris-sol-panel {
        display: none;
    }
    .sgiris-sag-panel {
        padding: 40px 24px;
        min-height: auto;
    }
    .sgiris-mobil-logo {
        display: block;
    }
}
