
/**
 * OGRMN Koç Operasyon + Destek Merkezi
 * Oluşturulma: 2026-08-09
 * Yaratan: Özgür Elibol
 */

.ops-hero,
.support-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin-bottom:18px;
    padding:24px 26px;
    border:1px solid #dfe7f2;
    border-radius:20px;
    background:
        radial-gradient(circle at top right, rgba(91,112,220,.12), transparent 36%),
        #fff;
    box-shadow:0 12px 34px rgba(15,23,42,.06);
}

.ops-hero h1,
.support-hero h1{
    margin:5px 0 7px;
    font-size:30px;
}

.ops-hero p,
.support-hero p{
    margin:0;
    max-width:700px;
    color:#64748b;
    line-height:1.6;
}

.ops-eyebrow,
.support-eyebrow,
.support-kicker{
    display:inline-block;
    color:#5870d8;
    font-size:11px;
    font-weight:900;
    letter-spacing:.12em;
}

.ops-hero-summary,
.support-hero-badge{
    flex:0 0 auto;
    min-width:130px;
    padding:15px 18px;
    border-radius:16px;
    background:#f3f6ff;
    text-align:center;
}

.ops-hero-summary span,
.support-hero-badge span{
    display:block;
    margin-bottom:3px;
    color:#64748b;
    font-size:12px;
    font-weight:700;
}

.ops-hero-summary strong,
.support-hero-badge strong{
    display:block;
    color:#20316f;
    font-size:28px;
}

.ops-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}

.ops-card{
    padding:20px;
    border-radius:18px;
}

.ops-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}

.ops-student{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}

.ops-avatar{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    width:46px;
    height:46px;
    border-radius:14px;
    background:#eef3ff;
    color:#3156d3;
    font-size:19px;
    font-weight:900;
}

.ops-student h3{
    margin:0 0 4px;
    font-size:19px;
}

.ops-student p{
    margin:0;
    color:#64748b;
    font-size:13px;
    overflow-wrap:anywhere;
}

.ops-score{
    min-width:90px;
    padding:10px 11px;
    border-radius:13px;
    text-align:center;
}

.ops-score strong{
    display:block;
    font-size:23px;
}

.ops-score span{
    display:block;
    margin-top:1px;
    font-size:10px;
    font-weight:800;
}

.ops-score.is-high{
    background:#ecfdf5;
    color:#166534;
}

.ops-score.is-mid{
    background:#fffbeb;
    color:#92400e;
}

.ops-score.is-low{
    background:#fff1f2;
    color:#9f1239;
}

.ops-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:18px 0;
}

.ops-stat{
    padding:13px 10px;
    border:1px solid #e6ebf3;
    border-radius:13px;
    background:#f8fafc;
    text-align:center;
}

.ops-stat-label{
    display:block;
    margin-bottom:4px;
    color:#64748b;
    font-size:11px;
    font-weight:700;
}

.ops-stat strong{
    color:#0f172a;
    font-size:20px;
}

.ops-session{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
    padding:12px 13px;
    border-radius:12px;
    background:#f5f7ff;
}

.ops-session span{
    color:#64748b;
    font-size:12px;
    font-weight:700;
}

.ops-session strong{
    color:#334155;
    font-size:13px;
}

.ops-session.is-empty strong{
    color:#94a3b8;
    font-weight:700;
}

.ops-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.ops-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 13px;
    border:1px solid #d7e0ef;
    border-radius:10px;
    background:#fff;
    color:#334155;
    font-size:12px;
    font-weight:800;
    text-decoration:none;
}

.ops-action:hover{
    border-color:#9fb0de;
    background:#f7f9ff;
}

.ops-empty,
.support-empty{
    padding:34px 24px;
    text-align:center;
}

.ops-empty-icon,
.support-empty-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    margin:0 auto 14px;
    border-radius:16px;
    background:#eef3ff;
    color:#3156d3;
    font-size:24px;
    font-weight:900;
}

.ops-empty h3,
.support-empty h3{
    margin:0 0 7px;
}

.ops-empty p,
.support-empty p{
    margin:0 auto;
    max-width:560px;
    color:#64748b;
    line-height:1.6;
}

/* Support */
.support-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:18px;
}

.support-summary-card{
    padding:15px 18px;
    border:1px solid #e1e8f2;
    border-radius:15px;
    background:#fff;
    box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.support-summary-card span{
    display:block;
    margin-bottom:4px;
    color:#64748b;
    font-size:12px;
    font-weight:700;
}

.support-summary-card strong{
    font-size:23px;
}

.support-create{
    margin-bottom:20px;
    padding:22px;
}

.support-section-head h2,
.support-list-head h2{
    margin:4px 0 6px;
}

.support-section-head p{
    margin:0;
    color:#64748b;
}

.support-form-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:14px;
    margin:18px 0 14px;
}

.support-form-grid label,
.support-reply-form label,
.support-status-form label{
    display:block;
}

.support-form-grid label > span,
.support-reply-form label > span,
.support-status-form label > span{
    display:block;
    margin-bottom:6px;
    color:#334155;
    font-size:12px;
    font-weight:800;
}

.support-form-grid input,
.support-form-grid select,
.support-form-grid textarea,
.support-reply-form textarea,
.support-status-form select{
    width:100%;
    box-sizing:border-box;
    border:1px solid #d8e1ed;
    border-radius:11px;
    background:#fff;
    padding:10px 12px;
    color:#0f172a;
    font:inherit;
}

.support-form-grid textarea,
.support-reply-form textarea{
    resize:vertical;
}

.support-full{
    grid-column:1/-1;
}

.support-primary,
.support-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    border:0;
    border-radius:10px;
    padding:9px 15px;
    font-weight:800;
    cursor:pointer;
}

.support-primary{
    background:#3156d3;
    color:#fff;
}

.support-secondary{
    border:1px solid #d7e0ef;
    background:#fff;
    color:#334155;
}

.support-list-head{
    margin:24px 0 12px;
}

.support-ticket{
    margin-bottom:14px;
    padding:20px;
}

.support-ticket-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}

.support-ticket-title{
    display:flex;
    align-items:flex-start;
    gap:11px;
}

.support-ticket-number{
    flex:0 0 auto;
    padding:6px 8px;
    border-radius:9px;
    background:#eef3ff;
    color:#3156d3;
    font-size:12px;
    font-weight:900;
}

.support-ticket-title h3{
    margin:0 0 4px;
    font-size:18px;
}

.support-ticket-title p{
    margin:0;
    color:#64748b;
    font-size:12px;
}

.support-badges{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:6px;
}

.support-badge{
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:5px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:900;
}

.status-open{
    background:#eff6ff;
    color:#1d4ed8;
}

.status-answered{
    background:#ecfdf5;
    color:#166534;
}

.status-closed{
    background:#f1f5f9;
    color:#64748b;
}

.priority-high{
    background:#fff1f2;
    color:#be123c;
}

.priority-normal{
    background:#fffbeb;
    color:#92400e;
}

.priority-low{
    background:#f1f5f9;
    color:#64748b;
}

.support-message{
    margin:16px 0;
    padding:14px 15px;
    border-radius:12px;
    background:#f8fafc;
}

.support-message p{
    margin:0;
    color:#475569;
    line-height:1.65;
}

.support-replies{
    margin:16px 0;
}

.support-replies h4{
    margin:0 0 9px;
}

.support-reply{
    margin:8px 0;
    padding:12px 14px;
    border-left:3px solid #c7d2fe;
    border-radius:0 10px 10px 0;
    background:#f8faff;
}

.support-reply-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:5px;
}

.support-reply-head span{
    color:#94a3b8;
    font-size:11px;
}

.support-reply p{
    margin:0;
    color:#475569;
    line-height:1.55;
}

.support-reply-form{
    margin-top:14px;
}

.support-reply-form .support-secondary{
    margin-top:8px;
}

.support-status-form{
    display:flex;
    align-items:flex-end;
    gap:10px;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid #edf1f6;
}

.support-status-form label{
    width:min(240px,100%);
}

.support-pagination{
    margin-top:18px;
}

@media(max-width:900px){
    .ops-grid{
        grid-template-columns:1fr;
    }

    .support-form-grid{
        grid-template-columns:1fr 1fr;
    }

    .support-form-grid label:first-child,
    .support-full{
        grid-column:1/-1;
    }
}

@media(max-width:650px){
    .ops-hero,
    .support-hero{
        align-items:flex-start;
        flex-direction:column;
        padding:20px;
    }

    .ops-hero-summary,
    .support-hero-badge{
        width:100%;
        box-sizing:border-box;
        text-align:left;
    }

    .ops-card-head,
    .support-ticket-head{
        flex-direction:column;
    }

    .ops-score{
        width:100%;
        box-sizing:border-box;
    }

    .ops-stats,
    .support-summary{
        grid-template-columns:1fr;
    }

    .support-form-grid{
        grid-template-columns:1fr;
    }

    .support-form-grid label:first-child,
    .support-full{
        grid-column:auto;
    }

    .support-badges{
        justify-content:flex-start;
    }

    .support-status-form{
        align-items:stretch;
        flex-direction:column;
    }

    .support-status-form label{
        width:100%;
    }
}
