/* ============================================================================
   E-Sohbet.Chat - Giris Ekrani (OvroChat tarzi iki sutunlu tasarim)
   ========================================================================== */

/* =========================================================================
   Ana sablon - iki sutunlu flex layout
   ========================================================================== */
.GirisAnaSablon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background: #f5f7fa;
    overflow: hidden;
    font-family: 'Segoe UI', 'Open Sans', Helvetica, Arial, sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gizle { display: none !important; }

/* =========================================================================
   SOL: Tanitim alani (gorsel + slogan + 5 ozellik)
   ========================================================================== */
.giris-sol-tanitim {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4facfe 0%, #00c6fb 50%, #0078d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tanitim-gorsel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tanitim-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tanitim-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0, 120, 215, 0.55) 0%,
        rgba(79, 172, 254, 0.35) 50%,
        rgba(0, 198, 251, 0.45) 100%);
}

.tanitim-icerik {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 40px 50px;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tanitim-baslik {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.tanitim-slogan {
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 50px 0;
    opacity: 0.95;
    line-height: 1.4;
}

.tanitim-ozellikler {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.ozellik-kart {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.ozellik-kart:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.ozellik-ikon {
    font-size: 28px;
    margin-bottom: 8px;
    color: #fff;
}

.ozellik-ikon i {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
}

.ozellik-yazi {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.tanitim-katil {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #0078d4;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* =========================================================================
   SAG: Giris formu
   ========================================================================== */
.giris-sag-form {
    width: 460px;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.giris-form-kapsayici {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.giris-logo {
    margin-bottom: 20px;
}

.giris-logo img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(126, 52, 175, 0.3);
}

.giris-hosgeldin {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 6px 0;
}

.giris-alt-yazi {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0 0 30px 0;
}

.giris-form {
    text-align: left;
}

/* Input gruplari (ikon + input) */
.giris-input-grup {
    position: relative;
    margin-bottom: 16px;
}

.giris-input-grup > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.girisInput {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    background: #f8f9fb;
    transition: all 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.girisInput::placeholder {
    color: #95a5a6;
}

.girisInput:focus {
    border-color: #0078d4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

/* Cinsiyet secimi */
.giris-cinsiyet-alani {
    margin-bottom: 18px;
}

.giris-cinsiyet-label {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 8px;
    font-weight: 600;
}

.giris-cinsiyet-secenekler {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.giris-radio {
    cursor: pointer;
    display: block;
}

.giris-radio input {
    display: none;
}

.giris-radio span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 14px;
    color: #7f8c8d;
    background: #f8f9fb;
    transition: all 0.2s ease;
    font-weight: 600;
}

.giris-radio span i {
    font-size: 16px;
}

.giris-radio input:checked + span {
    border-color: #0078d4;
    background: linear-gradient(135deg, #e3f2fd, #fff);
    color: #0078d4;
    box-shadow: 0 2px 8px rgba(0, 120, 212, 0.15);
}

.giris-radio input:checked + span i {
    color: #0078d4;
}

/* Hatirla + sifremi unuttum satiri */
.giris-hatirla-satir {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 13px;
}

.giris-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #7f8c8d;
}

.giris-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #0078d4;
    cursor: pointer;
}

.giris-sifremi-unuttum {
    color: #0078d4;
    text-decoration: none;
    font-weight: 600;
}

.giris-sifremi-unuttum:hover {
    text-decoration: underline;
}

/* Uye girisi butonu */
.giris-btn-uye {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #0078d4 0%, #4facfe 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.giris-btn-uye:hover {
    background: linear-gradient(135deg, #0064b8 0%, #3a8fee 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.4);
}

.giris-btn-uye:active {
    transform: translateY(0);
}

/* Ayirici (veya) */
.giris-ayirici {
    display: flex;
    align-items: center;
    margin: 18px 0;
    color: #95a5a6;
    font-size: 13px;
}

.giris-ayirici::before,
.giris-ayirici::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e6ed;
}

.giris-ayirici span {
    padding: 0 12px;
}

/* Misafir girisi butonu */
.giris-btn-misafir {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #7e34af;
    border: 2px solid #7e34af;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.giris-btn-misafir:hover {
    background: #f3e5f5;
    box-shadow: 0 4px 12px rgba(126, 52, 175, 0.15);
}

/* Kayit satiri */
.giris-kayit-satir {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #7f8c8d;
}

.giris-kayit-satir a {
    color: #0078d4;
    text-decoration: none;
    font-weight: 700;
}

.giris-kayit-satir a:hover {
    text-decoration: underline;
}

/* Alt linkler */
.giris-alt-linkler {
    margin-top: 30px;
    text-align: center;
    font-size: 12px;
}

.giris-alt-linkler a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.2s;
}

.giris-alt-linkler a:hover {
    color: #0078d4;
}

.giris-alt-linkler span {
    color: #bdc3c7;
    margin: 0 8px;
}

.giris-copyright {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
    color: #bdc3c7;
}

/* =========================================================================
   Yukleniyor animasyonu
   ========================================================================== */
.yukleniyor {
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0; left: 0; bottom: 0; right: 0;
}

.yukleniyor:before {
    content: '';
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
}

.yukleniyor:not(:required) {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.yukleniyor:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -.5em;
    animation: spinner 1s infinite linear;
    border-radius: .5em;
    box-shadow:
        rgba(0, 120, 212, .9) 1.5em 0 0 0,
        rgba(0, 120, 212, .9) 1.1em 1.1em 0 0,
        rgba(0, 120, 212, .9) 0 1.5em 0 0,
        rgba(0, 120, 212, .9) -1.1em 1.1em 0 0,
        rgba(0, 120, 212, .9) -1.5em 0 0 0,
        rgba(0, 120, 212, .9) -1.1em -1.1em 0 0,
        rgba(0, 120, 212, .9) 0 -1.5em 0 0,
        rgba(0, 120, 212, .9) 1.1em -1.1em 0 0;
}

@keyframes spinner {
    0%   { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

/* =========================================================================
   Mobil uyumluluk (768px altinda tek sutun)
   ========================================================================== */
@media (max-width: 900px) {
    .GirisAnaSablon {
        flex-direction: column;
    }

    .giris-sol-tanitim {
        flex: none;
        min-height: 220px;
        max-height: 280px;
    }

    .tanitim-icerik {
        padding: 20px;
    }

    .tanitim-baslik {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .tanitim-slogan {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .tanitim-ozellikler {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
        margin-bottom: 16px;
    }

    .ozellik-kart {
        padding: 8px 4px;
    }

    .ozellik-ikon {
        font-size: 18px;
    }

    .ozellik-ikon i {
        width: 32px;
        height: 32px;
        line-height: 32px;
    }

    .ozellik-yazi {
        font-size: 9px;
    }

    .tanitim-katil {
        padding: 8px 20px;
        font-size: 14px;
    }

    .giris-sag-form {
        width: 100%;
        flex: 1;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .tanitim-baslik {
        font-size: 22px;
    }

    .tanitim-slogan {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .ozellik-yazi {
        font-size: 8px;
    }

    .giris-form-kapsayici {
        max-width: 100%;
    }

    .giris-hosgeldin {
        font-size: 22px;
    }

    .giris-input-grup {
        margin-bottom: 12px;
    }
}


/* =========================================================================
   KAYIT MODALI
   ========================================================================== */
.kayit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(106, 17, 203, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.kayit-modal-kart {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.kayit-modal-baslik {
    font-size: 22px;
    font-weight: 800;
    color: #2c2058;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kayit-modal-kapat {
    background: #f3e5f5;
    border: none;
    color: #6a11cb;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.kayit-input-grup {
    position: relative;
    margin-bottom: 12px;
}

.kayit-input-grup i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

.kayit-input-grup input {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 14px;
    color: #2c3e50;
    background: #f8f9fb;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.kayit-input-grup input:focus {
    border-color: #0078d4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.kayit-cinsiyet-alani {
    margin-bottom: 14px;
}

.kayit-cinsiyet-label {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 6px;
    font-weight: 600;
}

.kayit-cinsiyet-secenekler {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.kayit-kurallar {
    margin: 14px 0;
    font-size: 12px;
}

.kayit-kurallar a {
    color: #0078d4;
    text-decoration: underline;
}

.kayit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #8e2de2 0%, #d62196 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(142, 45, 226, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.kayit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(142, 45, 226, 0.4);
}
