/* =============================================================================
   FUTBOLCU — Destek Ekranı (v3 Saha)
   contact.php · career.php destek bölümü · talep sohbeti
   ========================================================================== */

/* -----------------------------------------------------------------------------
   1. SAYFA DÜZENİ
   -------------------------------------------------------------------------- */
.fb-support {
    padding-top: 24px;
}

.fb-support-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 22px;
    align-items: start;
}

.fb-support .fb-stack {
    display: grid;
    gap: 20px;
    min-width: 0;
}

/* -----------------------------------------------------------------------------
   2. ORTAK KART GÖVDESİ
   -------------------------------------------------------------------------- */
.fb-support .fb-card {
    background: #F5F0E1;
    border: 3px solid #12291E;
    box-shadow: 6px 6px 0 rgba(12, 31, 22, .35);
}

.fb-support-head {
    border-bottom: 3px solid #12291E;
    padding: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.fb-chip-blue {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #FFF8E7;
    background: #2B6BE8;
    padding: 3px 10px;
    border: 2px solid #12291E;
    text-transform: uppercase;
}

.fb-support-title {
    font-family: Anton, sans-serif;
    font-size: 27px;
    color: #16281F;
    margin: 6px 0 0;
    text-transform: uppercase;
    letter-spacing: .02em;
}

/* -----------------------------------------------------------------------------
   3. GİRİŞ GEREKLİ KARTI
   -------------------------------------------------------------------------- */
.fb-support-login {
    padding: 40px 28px;
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
}

.fb-support-login-icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    font-size: 30px;
    background: #FFFBF0;
    border: 3px solid #12291E;
    box-shadow: 5px 5px 0 rgba(12, 31, 22, .3);
}

.fb-support-login-title {
    font-family: Anton, sans-serif;
    font-size: 26px;
    color: #16281F;
    margin: 4px 0 0;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.fb-support-login-text {
    margin: 0;
    max-width: 430px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.6;
    color: #6C7C6F;
    text-wrap: pretty;
}

.fb-support-login-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 6px;
}

.fb-support-login-actions .fb-mo-btn {
    text-decoration: none;
    display: inline-block;
}

/* -----------------------------------------------------------------------------
   4. TALEP FORMU
   -------------------------------------------------------------------------- */
.fb-support-form-card {
    padding: 24px;
    display: grid;
    gap: 18px;
}

.fb-support-form {
    display: grid;
    gap: 16px;
}

.fb-support-hint {
    font-size: 11.5px;
    font-weight: 700;
    color: #6C7C6F;
    line-height: 1.45;
}

/* -----------------------------------------------------------------------------
   5. TALEP LİSTESİ
   -------------------------------------------------------------------------- */
.fb-support-list-card {
    display: grid;
}

.fb-support-list-head {
    background: #1B3A2B;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #12291E;
}

.fb-support-list-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #8FB39C;
    text-transform: uppercase;
}

.fb-support-list-count {
    font-family: Anton, sans-serif;
    font-size: 14px;
    color: #F2B134;
}

.fb-ticket-row {
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: none;
    border-bottom: 2px solid #E4DDC8;
    background: #FFFBF0;
    font-family: Archivo, sans-serif;
    text-align: left;
    transition: background .14s ease;
}

.fb-ticket-row:hover {
    background: #F2EAD3;
}

.fb-ticket-main {
    display: grid;
    gap: 2px;
    margin-right: auto;
    min-width: 0;
}

.fb-ticket-subject {
    font-size: 13.5px;
    font-weight: 800;
    color: #16281F;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fb-ticket-date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #6C7C6F;
}

.fb-ticket-status {
    flex: 0 0 auto;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 4px 8px;
    border: 2px solid #12291E;
    text-transform: uppercase;
}

.fb-ticket-status.s-open {
    background: #F2B134;
    color: #5A3D06;
}

.fb-ticket-status.s-answered {
    background: #2B6BE8;
    color: #FFF8E7;
}

.fb-ticket-status.s-closed {
    background: #D8D2BF;
    color: #55604F;
}

.fb-ticket-unread {
    flex: 0 0 auto;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
    background: #E8552B;
    color: #FFF8E7;
    border: 2px solid #12291E;
    padding: 3px 7px;
}

.fb-support-empty {
    padding: 26px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #6C7C6F;
    background: #FFFBF0;
}

/* -----------------------------------------------------------------------------
   6. SOHBET (modal içi)
   -------------------------------------------------------------------------- */
.fb-thread {
    display: grid;
    gap: 14px;
}

.fb-thread-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-thread-stream {
    display: grid;
    gap: 10px;
    max-height: 46vh;
    overflow-y: auto;
    padding: 12px;
    background: #FFFBF0;
    border: 3px solid #12291E;
}

.fb-msg {
    border: 2px solid #12291E;
    background: #F5F0E1;
    padding: 10px 12px;
    display: grid;
    gap: 5px;
}

.fb-msg.staff {
    background: #E4EEFF !important;
    border: 2.5px solid #2B6BE8 !important;
    box-shadow: 4px 4px 0 rgba(43, 107, 232, .25) !important;
}

.fb-msg-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.fb-msg-who {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #16281F;
}

.fb-msg.staff .fb-msg-who {
    color: #1B4BA8 !important;
    font-weight: 800;
}

/* "DESTEK EKİBİ" rozeti — hem PHP hem JS aynı sınıfı kullanır. */
.fb-staff-badge {
    display: inline-block;
    background: #2B6BE8;
    color: #FFF8E7;
    font-family: Anton, sans-serif;
    font-size: 10px;
    letter-spacing: .08em;
    padding: 2px 6px;
    margin-right: 6px;
    vertical-align: middle;
}

.fb-staff-name {
    color: #1B4BA8;
    font-weight: 800;
}

.fb-msg-when {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #6C7C6F;
}

.fb-msg-body {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #16281F;
    white-space: pre-wrap;
    word-break: break-word;
}

.fb-thread-closed {
    padding: 11px 13px;
    background: #D8D2BF;
    border: 2px solid #12291E;
    font-size: 12.5px;
    font-weight: 700;
    color: #55604F;
}

/* Sohbetin sonundaki "çözüldü" ayracı */
.fb-msg-resolved {
    margin-top: 2px;
    padding: 11px 13px;
    background: #C9E3B5;
    border: 2px solid #4F9433;
    display: grid;
    gap: 3px;
    justify-items: center;
    text-align: center;
}

.fb-msg-resolved-label {
    font-family: Anton, sans-serif;
    font-size: 13px;
    letter-spacing: .1em;
    color: #2F6B1F;
}

.fb-msg-resolved-note {
    font-size: 11.5px;
    font-weight: 700;
    color: #4A6B3A;
}

/* -----------------------------------------------------------------------------
   7. SAĞ KOLON
   -------------------------------------------------------------------------- */
.fb-support-coach {
    background: #1B3A2B !important;
    box-shadow: 8px 8px 0 rgba(12, 31, 22, .45) !important;
    padding: 22px;
    color: #F5F0E1;
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
}

.fb-support-coach-badge {
    background: #2B6BE8;
    color: #FFF8E7;
    border: 2px solid #12291E;
    padding: 4px 14px;
    font-family: Anton, sans-serif;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(12, 31, 22, .3);
}

.fb-support-coach-img {
    max-height: 280px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(12, 31, 22, .5));
    transition: transform .3s ease;
}

.fb-support-coach-img:hover {
    transform: scale(1.04);
}

.fb-support-coach-bubble {
    background: #F5F0E1;
    color: #16281F;
    border: 3px solid #12291E;
    padding: 12px 14px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.5;
    box-shadow: 4px 4px 0 rgba(12, 31, 22, .3);
    text-wrap: pretty;
}

.fb-support-coach-hi {
    color: #2B6BE8;
    font-family: Anton, sans-serif;
    font-size: 15px;
    display: block;
    margin-bottom: 3px;
}

.fb-support-faq {
    width: 100%;
    text-align: center;
    text-decoration: none;
    background: #F2B134;
    color: #12291E;
}

.fb-support-channel {
    background: #1B3A2B !important;
    color: #F5F0E1;
    padding: 18px 20px;
    display: grid;
    gap: 2px;
}

.fb-support-channel-label {
    font-size: 10.5px;
    font-weight: 800;
    color: #8FB39C;
    letter-spacing: .12em;
}

.fb-support-channel-value {
    font-family: Anton, sans-serif;
    font-size: 18px;
    color: #FFF8E7;
    word-break: break-all;
}

.fb-support-channel-value.gold {
    color: #F2B134;
}

.fb-support-channel-note {
    font-size: 11px;
    color: #C9E3B5;
    font-weight: 700;
    margin-top: 2px;
}

/* -----------------------------------------------------------------------------
   8. KARİYER EKRANI DESTEK KUTUSU
   -------------------------------------------------------------------------- */
.fb-career-support {
    background: #F5F0E1;
    border: 3px solid #12291E;
    box-shadow: 6px 6px 0 rgba(12, 31, 22, .35);
    display: grid;
}

.fb-career-support-head {
    background: #2B6BE8;
    padding: 9px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 3px solid #12291E;
}

.fb-career-support-head span:first-child {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    color: #EAF1FF;
    text-transform: uppercase;
}

.fb-career-support-badge {
    font-size: 10px;
    font-weight: 800;
    color: #16281F;
    background: #F2B134;
    border: 2px solid #12291E;
    padding: 2px 7px;
}

.fb-career-support-foot {
    padding: 11px 14px;
    border-top: 2px solid #E4DDC8;
    text-align: center;
}

.fb-career-support-foot a {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #B3401C;
    text-decoration: none;
    text-transform: uppercase;
}

.fb-career-support-foot a:hover {
    color: #E8552B;
}

/* -----------------------------------------------------------------------------
   9. MOBİL
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
    .fb-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .fb-support-title {
        font-size: 22px;
    }

    .fb-support-form-card {
        padding: 18px;
    }

    .fb-ticket-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .fb-ticket-main {
        flex: 1 1 100%;
        order: 2;
    }

    .fb-thread-stream {
        max-height: 40vh;
    }
}
