main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}


/* ERP GENEL HATA STİLLERİ */

/* Input ve Select alanlarında hata borderı */
.has-error .form-control, 
.has-error .form-select,
.is-invalid {
    border: 2px solid #d63939 !important;
    background-color: #fff8f8 !important;
    transition: all 0.3s ease; /* Yumuşak bir geçiş için */
}

/* Hata mesajı metni */
.has-error .help-block, 
.has-error .invalid-feedback {
    color: #d63939 !important;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* Zorunlu alanların yanına kırmızı yıldız */
/* Yii2 ActiveForm'da 'required' class'ını otomatik ekler */
.required > label:after, 
.required > .form-label:after {
    content: " *";
    color: #d63939;
    font-weight: bold;
    margin-left: 3px;
}

/* Inputa tıklandığında (focus) kırmızılığın devam etmesi */
.has-error .form-control:focus {
    box-shadow: 0 0 0 0.25 margin-left:rgba(214, 57, 57, 0.25) !important;
    border-color: #d63939 !important;
}

/* 1. Global Tekst Ýumşadyş */
body {
    color: #334155 !important; /* Gaty gara däl, ýumşak çal-gök */
    background-color: #f1f5f9; 
}

/* 2. Tablisa Başlyklaryny Modernizasiýa Etmek */
.table thead th {
    background-color: #f8fafc !important; 
    color: #64748b !important;
    text-transform: uppercase;
    font-size: 0.7rem !important;
    font-weight: 700;
    letter-spacing: 0.025em;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* 3. Amallar (Actions) Düwmeleri */
.btn-outline-primary, .btn-outline-danger {
    border: 1px solid #e2e8f0 !important; /* Çarçuwalary ýuka et */
    color: #64748b !important; /* Ikonkalary çal et */
}

.btn-outline-primary:hover {
    background-color: #f1f5f9 !important;
    color: #2563eb !important;
}

/* 4. Müşderi Balansy (Balance) - Ýumşak Gyzyl */
.text-danger {
    color: #e11d48 !important; 
    font-weight: 600;
}

/* 5. Müşderi Topary (Badge) Style */
.badge.bg-info-lt {
    background-color: #f0f9ff !important;
    color: #0369a1 !important;
    border: 1px solid #e0f2fe;
    border-radius: 6px;
    padding: 0.4em 0.8em;
}