/* *****************************************************

    ** Custom Stylesheet special styles for 1.2 version **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */
.alert-danger {
    background: #ffce3b;
    border-color: #ffce3b;
    color: #111;
    border-radius: 6px;
    text-align: left;
}
.alert-danger ul{
    padding: 0;
    font-size: 12px;
    list-style: none;
}
#alertUnpaidInvoice.alert.alert-warning .pull-right {
    border-radius: 2px;
    font-size: 11px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#alertUnpaidInvoice.alert.alert-warning .pull-right a.btn{
    margin: 0;
    color: #111!important;
    background: transparent;
    border-color: #111!important;
    border: 2px solid #333;
    font-weight: bold;
    padding: 7px 15px;
    font-size: 11px;
}
#alertUnpaidInvoice.alert.alert-warning .pull-right a.btn:hover{
    color: #111!important;
    background: #fff;
}
.alert.alert-danger .pull-right {
    border-radius: 2px;
    font-size: 11px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.alert.alert-danger .pull-right a.btn{
    margin: 0;
    color: #111!important;
    background: transparent;
    border-color: #111!important;
    border: 2px solid #333;
    font-weight: bold;
    padding: 7px 15px;
    font-size: 11px;
}
.alert.alert-danger .pull-right a.btn:hover{
    color: #111!important;
    background: #fff;
}
.alert-success {
    background: #b0f5c8;
    border-color: #b0f5c8;
    color: #111;
    border-radius: 2px;
}
.alert-success strong{
    margin: 0;
    font-weight: 400;
    font-size: 12px;
}
.coowhm-warning.active {
    box-shadow: none;
}





.social-media-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    padding: 10px;
}

.social-media-bar a {
    margin: 0 15px;
}

.social-media-bar img {
    width: 20px;
    height: 20px;
    margin: 0 2px;
}






.cookie-consent {
    padding: 20px;
    background: #fff;
    /*opacity:0.9;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: fixed;
    bottom: 50px;
    left: 120px; /* Varsayılan olarak sol kenardan 20px mesafede */
    max-width: 30%; /* Maksimum genişlik yüzde olarak ayarlanıyor */
    color: #666;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    z-index: 9999;
    display: none;
}

/* 18 Agustos - KOYU KOLLARI BURAYA TASINDI.
   Kural custom.css'te oldugu icin koyu karsiligi da BURAYA yaziliyor
   (kullanici karari). Teknik gerekcesi de var: ozgulluk tasfiyesinden
   sonra koyu kollar acik ikizleriyle AYNI ozgullukte - beraberligi
   DOSYA SIRASI cozuyor ve custom.css main.css'ten sonra yuklendigi
   icin main.css'teki koyu kol kaybediyordu.
   Degerler olculmustu: zemin #341157 (kart kademesi), metin
   --k-orta, kenar #4a187b, golge alfa 0.42 (kart carpani 4.22 x
   acik 0.1). */
:where(body.dark-mode) .cookie-consent {
    background: #341157;
    color: var(--k-orta);
    border-color: #4a187b;
    box-shadow: 0 4px 8px rgba(0,0,0,0.42);
}

.cookie-consent p {
    margin: 0;
    line-height: 1.5;
}

.cookie-consent a {
    color: #007bff;
    text-decoration: none;
}
/* 17 Ağustos akşamı - KOYU MOD KOLU.
   Kural burada olduğu için koyu karşılığı da BURAYA, ışığın hemen
   altına yazıldı (kullanıcı kararı: "kural custom.css'te ise
   koyusunu da custom'daki yerinin altına ekle"). Böylece main.css'ten
   özgüllükle ezme ihtiyacı kalmıyor.
   ÖLÇÜM: açık #007bff / #ffffff -> dL -0.3952
          koyu (kol yokken) #007bff / #341157 -> dL +0.3273 = oran 0.83
   Not: bu bağlantı, sitenin kendi bağlantı jetonundan (#005588) FARKLI
   bir açık kaynak; o yüzden --k-link'e bağlanmaz, kendi aynası alınır.
   Hedef L = 0.2775 + 0.3952 = 0.6727, hue korunur -> #7598ca. */
body.dark-mode .cookie-consent a {
    color: #7598ca;
}

/* Mobil boyutlar için özel stil */
@media (max-width: 767px) {
    .cookie-consent {
        left: 50%; /* Sol kenardan ortaya */
        transform: translateX(-50%); /* Yatay olarak ortalamak için */
        width: calc(100% - 40px); /* Ekran genişliğinin %100'ü eksi 40px */
        max-width: 90%; /* Maksimum genişlik yüzde olarak ayarlanıyor */
    }
}
