/* ============================================================
   Login Müşteri Destek Talep Sistemi – Özel Stiller
   Mevcut main.min.css üzerine ekleme yapar, dokunmaz.
   ============================================================ */

/* ----------------------------------------------------------
   1. Ortak – Sayfa Giriş Animasyonu
   ---------------------------------------------------------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-default,
.form-result,
.login-brand {
    animation: fadeInUp .45s ease both;
}

.login-brand        { animation-delay: 0s; }
.login-form-panel   { animation-delay: .08s; }
.form-default       { animation-delay: .08s; }
.form-result        { animation-delay: .1s; }


/* ----------------------------------------------------------
   2. MusteriGirisi – Split-Screen Giriş Düzeni
   ---------------------------------------------------------- */

/* main section içindeki content'i yatay iki panel yap */
.main section.login-section .content {
    flex-direction: row !important;
    padding: 0 !important;
    background-image: none !important;
    align-items: stretch !important;
    min-height: 520px;
}

/* Sol: marka paneli */
.login-brand {
    flex: 0 0 42%;
    background: linear-gradient(160deg, #171632 0%, #2b2869 100%);
    background-image: url("../img/honeycomb2.png"), linear-gradient(160deg, #171632 0%, #2b2869 100%);
    background-repeat: no-repeat;
    background-size: cover, cover;
    background-position: center, center;
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* hafif overlay */
.login-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(23,22,50,.75) 0%, rgba(39,37,86,.55) 100%);
}

.login-brand > * { position: relative; z-index: 1; }

.login-brand .brand-logo img {
    filter: brightness(0) invert(1);
    max-width: 130px;
    height: auto;
    display: block;
}

.login-brand .brand-tagline {
    margin-top: 36px;
    color: rgba(255,255,255,.65);
    font-family: "bill_roman", sans-serif;
    font-size: 1.05em;
    line-height: 1.6;
}

.login-brand .brand-tagline strong {
    display: block;
    color: #4bc0f2;
    font-family: "bill_bold", sans-serif;
    font-size: 1.38em;
    margin-bottom: 8px;
    line-height: 1.3;
}

.login-brand .brand-divider {
    width: 40px;
    height: 3px;
    background: #4bc0f2;
    border: none;
    margin: 24px 0;
    border-radius: 2px;
}

/* Sağ: form paneli */
.login-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 45px;
    background: #fff;
}

.login-form-panel .form-default {
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 360px;
    width: 100%;
    background: transparent;
}

/* Responsive: 1024px altında tek kolon */
@media only screen and (max-width: 1024px) {
    .main section.login-section .content {
        flex-direction: column !important;
    }

    .login-brand {
        flex: none;
        padding: 30px 24px;
        min-height: auto;
    }

    .login-brand .brand-tagline {
        display: none;
    }

    .login-brand .brand-divider {
        display: none;
    }

    .login-brand .brand-logo img {
        max-width: 100px;
    }

    .login-form-panel {
        padding: 30px 24px;
    }
}


/* ----------------------------------------------------------
   3. TalepGirisEkrani – Bölüm Başlığı ve Upload Zone
   ---------------------------------------------------------- */

/* Bölüm ayırıcı stil (sub-title üzerine eklenir) */
.sub-title.section-header {
    border-left: 4px solid #272556;
    padding-left: 12px;
    background: #f8f8fc;
    margin: 0 -35px 0 -35px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 20px;
}

@media only screen and (max-width: 1024px) {
    .sub-title.section-header {
        margin: 0 -20px;
        padding-left: 10px;
        padding-right: 12px;
    }
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed #4bc0f2;
    background: #f7fbff;
    padding: 18px 20px;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    width: 100%;
    box-sizing: border-box;
}

.upload-zone:hover {
    background: #edf5ff;
    border-color: #1bafef;
}

.upload-zone p {
    margin: 8px 0 10px;
    color: #272556;
    font-family: "bill_roman", sans-serif;
    font-size: .96em;
}

/* Dosya input'unu zone içinde göster */
.upload-zone input[type=file] {
    margin: 6px auto 0;
    display: block;
    height: auto !important;
    padding: 4px 0 !important;
    border: none !important;
    background: transparent !important;
    font-size: .92em;
    cursor: pointer;
    width: auto !important;
    text-align: center;
}

/* Karakter sayacı */
.char-counter {
    display: block;
    text-align: right;
    font-size: .88em;
    color: #4bc0f2;
    font-family: "bill_roman", sans-serif;
    margin-top: 4px;
    opacity: .85;
}


/* ----------------------------------------------------------
   4. TalepSorgulama – GridView + Durum Rozeti
   ---------------------------------------------------------- */

/* GridView inline stil ezme */
.grid-styled {
    width: 100% !important;
    height: auto !important;
    border: none !important;
}

/* thead rengi marka uyumlu (HeaderStyle BackColor override) */
.grid-styled thead tr th,
.base-wrapper .grid-styled thead tr th {
    background-color: #272556 !important;
    color: #fff !important;
    font-family: "bill_bold", sans-serif;
    padding: 11px 10px;
    border: none !important;
    font-size: .95em;
    letter-spacing: .03em;
}

/* Satır hover efekti */
.grid-styled tbody tr:hover td {
    background-color: #eef5ff !important;
    transition: background .1s;
}

/* Boş veri stili */
.grid-empty {
    text-align: center;
    padding: 30px 0;
    color: #aaa;
    font-family: "bill_roman", sans-serif;
    font-size: 1.05em;
}

.grid-empty .im {
    font-size: 2.2em;
    display: block;
    margin-bottom: 8px;
    opacity: .4;
}

/* Durum rozeti */
.status-badge {
    color: #fff;
    padding: 3px 12px;
    border-radius: 12px;
    font-family: "bill_medium", sans-serif;
    font-size: .88em;
    display: inline-block;
    white-space: nowrap;
    letter-spacing: .02em;
}
