/* ==========================================================================
   ETKİNLİK-SEN — Kurumsal kimlik
   Üye Firma Tanıtım Formu'ndaki lacivert/açık mavi düzenin site geneline
   taşınmış hâli. Renkler tek yerden yönetilsin diye hepsi değişken.
   ========================================================================== */

:root {
    /* Ana lacivert ailesi */
    --es-lacivert:        #1e3a5f;
    --es-lacivert-koyu:   #16304e;
    --es-lacivert-derin:  #12283f;
    --es-lacivert-acik:   #2c5282;

    /* Zeminler */
    --es-zemin:           #f5f7fa;
    --es-kart:            #ffffff;
    --es-satir:           #eef2f7;
    --es-satir-koyu:      #e3eaf3;

    /* Çizgi ve metin */
    --es-cizgi:           #dbe3ec;
    --es-cizgi-koyu:      #c3cfdd;
    --es-metin:           #1e3a5f;
    --es-metin-yumusak:   #41546b;
    --es-gri:             #64748b;
    --es-gri-acik:        #94a3b8;

    /* Vurgu */
    --es-altin:           #c9a227;
    --es-basari:          #0f766e;
    --es-uyari:           #b45309;
    --es-hata:            #b91c1c;

    --es-golge:           0 1px 3px rgba(30,58,95,.08);
    --es-golge-buyuk:     0 8px 24px rgba(30,58,95,.10);
    --es-yuvarlak:        10px;
}

/* --------------------------------------------------------------------------
   Ortak bileşenler — panel ve genel sayfalarda aynı görünsün
   -------------------------------------------------------------------------- */

/* Bölüm başlığı: formdaki koyu lacivert şerit */
.es-bolum {
    background: var(--es-lacivert);
    color: #fff;
    font-weight: 700;
    font-size: .94rem;
    letter-spacing: .02em;
    padding: 11px 18px;
    border-radius: 8px 8px 0 0;
}
.es-govde {
    background: var(--es-kart);
    border: 1px solid var(--es-cizgi);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px 18px;
}

/* Kart */
.es-kart {
    background: var(--es-kart);
    border: 1px solid var(--es-cizgi);
    border-radius: var(--es-yuvarlak);
    box-shadow: var(--es-golge);
}

/* Başlık bandı (form üstündeki gibi) */
.es-bas {
    background: var(--es-lacivert);
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 22px 24px;
    text-align: center;
}
.es-bas h1 { margin: 0; font-size: 1.5rem; letter-spacing: .06em; font-weight: 700; }
.es-bas .alt { margin: 6px 0 0; font-size: .95rem; opacity: .9; }

/* Düğmeler */
.es-btn {
    background: var(--es-lacivert);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .18s;
}
.es-btn:hover  { background: var(--es-lacivert-koyu); color: #fff; }
.es-btn.ikincil { background: var(--es-satir); color: var(--es-lacivert);
                  border: 1px solid var(--es-cizgi); }
.es-btn.ikincil:hover { background: var(--es-satir-koyu); }
.es-btn.altin  { background: var(--es-altin); color: #3a2f05; }

/* Rozet */
.es-rozet {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 3px 9px;
    border-radius: 4px;
    background: var(--es-satir);
    color: var(--es-lacivert);
}

/* Tablo */
.es-tablo { width: 100%; border-collapse: collapse; background: var(--es-kart); }
.es-tablo thead th {
    background: var(--es-lacivert);
    color: #fff;
    text-align: left;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .03em;
    padding: 11px 14px;
}
.es-tablo td { padding: 11px 14px; border-bottom: 1px solid var(--es-cizgi);
               font-size: .88rem; color: var(--es-metin-yumusak); }
.es-tablo tbody tr:nth-child(even) { background: var(--es-satir); }

/* Alan satırı (etiket + değer) */
.es-satir {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--es-satir);
    align-items: start;
}
.es-satir:last-child { border-bottom: none; }
.es-satir > .etiket { font-weight: 600; color: var(--es-lacivert); font-size: .88rem; }
.es-satir > .deger  { color: var(--es-metin-yumusak); font-size: .9rem; line-height: 1.65; }

/* Alt bant */
.es-son {
    text-align: center;
    background: var(--es-lacivert);
    color: #fff;
    border-radius: 8px;
    padding: 13px;
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .03em;
}

/* Uyarı kutuları */
.es-uy      { padding: 12px 16px; border-radius: 8px; font-size: .9rem;
              background: var(--es-satir); border-left: 4px solid var(--es-lacivert-acik);
              color: var(--es-metin); }
.es-uy.ok   { background:#ecfdf5; border-left-color:#10b981; color:#065f46; }
.es-uy.hata { background:#fef2f2; border-left-color:#ef4444; color:#991b1b; }

/* Formlar */
.es-girdi, .es-satir input[type=text], .es-satir input[type=email],
.es-satir select, .es-satir textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--es-cizgi-koyu);
    border-radius: 7px;
    font-size: .9rem;
    font-family: inherit;
    color: var(--es-metin);
    background: #fff;
}
.es-girdi:focus { outline: none; border-color: var(--es-lacivert-acik);
                  box-shadow: 0 0 0 3px rgba(44,82,130,.12); }

@media (max-width: 720px) {
    .es-satir { grid-template-columns: 1fr; gap: 5px; }
}
