/* ATA — uygulama stilleri.
 *
 * PHP surumunde sayfa sablonunun icine gomulu olan stil blogu buraya tasindi.
 * Bootstrap yerel dosyadan yuklenir; bu sayfalar calisma aninda hicbir CDN'e
 * istek yapmaz.
 */

body { background: #eef2f7; color: #162033; }
.app-shell { max-width: 1180px; }
.card { border-radius: .5rem; }
.navbar {
    box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .04);
}
.json-box { max-height: 360px; overflow: auto; white-space: pre-wrap; }
textarea { min-height: 130px; }
.ref-note { color: #64748b; font-size: .78rem; line-height: 1.25; margin-top: .25rem; }
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 0;
    background: linear-gradient(135deg, #1d4ed8, #0f766e);
    box-shadow: 0 .35rem 1rem rgba(15, 118, 110, .18);
}
.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}
.brand-title {
    line-height: 1.05;
}
.brand-subtitle {
    color: #64748b;
    font-size: .78rem;
}
.metric-tile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    padding: .85rem;
    height: 100%;
}
.metric-label {
    color: #64748b;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.metric-value {
    font-size: 1.35rem;
    font-weight: 700;
}
.analysis-block {
    border-left: 4px solid #0f766e;
    background: #f8fafc;
    padding: .9rem 1rem;
    border-radius: .35rem;
}
.pencere-rozet {
    font-size: .85rem;
}
.durum-grup .btn-check:checked + .btn {
    font-weight: 600;
}
.panel-hero {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .95), rgba(29, 78, 216, .92)),
        #0f766e;
    color: #fff;
    border-radius: .5rem;
    padding: 1.1rem;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .12);
}
.panel-hero .text-secondary,
.panel-hero .metric-label {
    color: rgba(255, 255, 255, .76) !important;
}
.panel-hero .metric-tile {
    background: rgba(255, 255, 255, .11);
    border-color: rgba(255, 255, 255, .18);
}
.pencere-adimi {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: .5rem;
    padding: .75rem;
    min-height: 72px;
}
.pencere-adimi.tamam {
    border-color: rgba(15, 118, 110, .38);
    background: #eefaf7;
}
.pencere-adimi.siradaki {
    border-color: rgba(37, 99, 235, .5);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .18);
}
.pencere-adimi .durum-im {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
}
.pencere-adimi.tamam .durum-im {
    color: #fff;
    background: #0f766e;
}
.pencere-adimi.bekliyor .durum-im {
    color: #64748b;
    background: #e2e8f0;
}
.hedef-ozet {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: .5rem;
    padding: .85rem;
    height: 100%;
    overflow: hidden;
}
.hedef-ozet-deger {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    word-break: keep-all;
}
.hedef-kart {
    position: relative;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-left: 5px solid #2563eb;
    border-radius: .5rem;
    padding: .9rem;
    box-shadow: 0 .5rem 1.2rem rgba(15, 23, 42, .05);
}
.hedef-kart form {
    min-width: 112px;
}
.hedef-kart.haftalik {
    border-left-color: #7c3aed;
}
.hedef-metin {
    font-weight: 650;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.hedef-meta {
    color: #64748b;
    font-size: .78rem;
}
.hedef-durum-listesi {
    border: 1px solid #dbe3ef;
    border-radius: .5rem;
    overflow: hidden;
    background: #fff;
}
.hedef-durum-satiri {
    display: flex;
    gap: .75rem;
    justify-content: space-between;
    align-items: flex-start;
    padding: .75rem .85rem;
    border-bottom: 1px solid #eef2f7;
}
.hedef-durum-satiri:last-child {
    border-bottom: 0;
}
.mini-progress {
    height: .55rem;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.mini-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0f766e, #2563eb);
}
.olcum-takip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    padding: .9rem;
}
.olcum-satir {
    display: grid;
    grid-template-columns: minmax(86px, auto) minmax(90px, 1fr) minmax(58px, auto);
    align-items: center;
    gap: .7rem;
}
.olcum-bar {
    display: block;
    height: .65rem;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}
.olcum-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0f766e, #2563eb);
}
.panel-akis {
    align-items: stretch;
}
.panel-bolum-baslik {
    display: flex;
    align-items: center;
    gap: .85rem;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: .5rem;
    padding: .9rem 1rem;
    box-shadow: 0 .45rem 1rem rgba(15, 23, 42, .04);
}
.panel-sira {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: #162033;
    font-weight: 800;
    line-height: 1;
}
.panel-detay {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: .5rem;
    padding: .2rem 1rem 1rem;
    box-shadow: 0 .45rem 1rem rgba(15, 23, 42, .04);
}
.panel-detay > summary {
    display: flex;
    align-items: center;
    gap: .85rem;
    list-style: none;
    cursor: pointer;
    padding: .85rem 0;
}
.panel-detay > summary::-webkit-details-marker {
    display: none;
}
.panel-detay > summary::after {
    content: "Aç";
    margin-left: auto;
    color: #2563eb;
    font-size: .85rem;
    font-weight: 700;
}
.panel-detay[open] > summary::after {
    content: "Kapat";
}
.panel-ana-baslik {
    display: flex;
    align-items: center;
    gap: .85rem;
}
.panel-ana-baslik .panel-sira {
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .24);
}
@media (max-width: 767.98px) {
    .hedef-kart form {
        min-width: 0;
        width: 100%;
    }
}
