/*===========================================================================================================*/
/* Bu Yazilim Webmovo Yazilim & Tasarim Tarafından Kodlanmıştir - https://www.webmovo.com - 02323322787      */
/*===========================================================================================================*/

/* --- GENEL AYARLAR --- */
.pl5 {
    padding-left:5px;
    padding-right:5px;
}

/* --- MESAJLAŞMA SİSTEMİ --- */
.messages-container {
    margin: 0;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    background-color: #fff;
}

.messages-headline {
    font-size: 16px;
    margin: 0;
    padding: 22px 30px;
    color: #333;
    background-color: #fff;
    display: block;
    border-bottom: 1px solid #eaeaea;
    border-radius: 4px 4px 0 0;
    position: relative;
}

.messages-headline h4 {
    font-size: 16px;
    color: #333;
    padding: 0;
    margin: 0;
    font-weight: 600;
    display: inline-block;
}

.message-action {
    border-radius: 50px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s;
    padding: 0;
    float: right;
}

.message-action:hover { color: #ee3535; }

.messages-inbox ul { list-style: none; padding: 0; margin: 0; }

.message-avatar img {
    display: inline-block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
}

.messages-inbox ul li a { position: relative; display: block; padding: 30px; }
.messages-inbox ul li { border-bottom: 1px solid #eaeaea; transition: 0.2s; }
.messages-inbox ul li:last-child { border-bottom: none; }
.messages-inbox ul li.unread, .messages-inbox ul li:hover { background-color: #fbfbfb; }
.messages-inbox ul li.active-message { background-color: #fafafa; }

.messages-inbox .message-avatar {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.messages-inbox .message-by { margin-left: 85px; font-size: 15px; color: #666; }
.messages-inbox .message-by p { margin: 0; padding: 0; line-height: 27px; font-size: 15px; }

.message-by-headline h5, .message-by-headline span { display: inline-block; }
.message-by-headline span { float: right; color: #888; font-size: 14px; }
.message-by-headline h5 { font-weight: 600; color: #333; margin: 0 0 7px 0; padding: 0; }
.message-by-headline:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }

.message-by h5 i {
    background-color: #64bc36;
    border-radius: 50px;
    line-height: 20px;
    font-size: 12px;
    color: #fff;
    padding: 3px 8px;
    margin-left: 3px;
}

.messages-container-inner { display: flex; }
.messages-container-inner .messages-inbox, .messages-container-inner .message-content { flex: 1; }
.messages-container-inner .messages-inbox { overflow: hidden; max-width: 340px; border-right: 1px solid #eaeaea; }
.messages-container-inner .messages-inbox ul { max-height: 800px; overflow-y: scroll; width: 357px; }
.messages-container-inner .message-content { padding: 30px; }
.messages-container-inner .messages-inbox ul li a { padding: 25px; }

.messages-container-inner .messages-inbox .message-by p {
    height: 26px;
    max-width: 205px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
    color: #888;
}

.messages-container-inner .message-avatar img { width: 40px; height: 40px; }
.messages-container-inner .messages-inbox .message-avatar { left: 25px; }
.messages-container-inner .messages-inbox .message-by { margin-left: 60px; }
.messages-container-inner .message-by-headline h5 { font-size: 14px; margin-bottom: 3px; max-width: 160px; line-height: 23px; }
.messages-container-inner .message-by-headline span { font-size: 13px; position: absolute; top: 25px; right: 25px; }

.message-bubble { display: block; position: relative; margin-bottom: 25px; }
.message-bubble .message-avatar { position: absolute; left: 0; top: 0; }
.message-bubble .message-avatar img { width: 50px; height: 50px; }
.message-bubble .message-text { margin-left: 70px; background-color: #f6f6f6; border-radius: 4px; padding: 20px; position: relative; }
.message-bubble .message-text p { font-size: 15px; padding: 0; margin: 0; line-height: 27px; }
.message-bubble .message-text:before {
    position: absolute; top: 12px; left: -9px;
    content: "\f0d9"; font-family: "FontAwesome"; font-size: 31px; color: #f6f6f6;
}

.message-bubble.me .message-avatar { left: auto; right: 0; }
.message-bubble.me .message-text { margin-left: 0; margin-right: 70px; }
.message-bubble.me .message-text:before { left: auto; right: -11px; content: "\f0da"; }

.message-reply { display: block; margin-top: 15px; }
.message-reply textarea { max-width: 100%; width: 100%; font-size: 15px; font-weight: 400; padding: 15px 20px; }
.message-reply button { border-radius: 4px; margin-top: 5px; }

/* --- RIBBON & GDPR --- */
.ribbon { position: absolute; right: -5px; top: -5px; z-index: 1; overflow: hidden; width: 75px; height: 75px; text-align: right; }
.ribbon span {
    font-size: 10px; font-weight: bold; color: #FFF; text-transform: uppercase; text-align: center;
    line-height: 20px; transform: rotate(45deg); width: 100px; display: block;
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute; top: 19px; right: -21px;
}

.gdpr-title { display: block; width: 100%; font-size: 18px; color: #ffffff; margin-bottom: 10px; }
.gdpr-content { font-size: 14px; }

/* --- FORM & BUTON DÜZENLEMELERİ --- */
.bootstrap-select .dropdown-toggle .filter-option {
    min-height: 20px !important;
    display: flex !important;
    align-items: center !important;
    color: #333333 !important;
}

#custom-search-input button[type="submit"] {
    background-color: #F89000 !important;
    border-color: #F89000 !important;
    color: #ffffff !important;
}

#custom-search-input button[type="submit"]:hover {
    background-color: #e68600 !important;
    border-color: #e68600 !important;
}

/* --- EĞİTMEN KAYIT ŞERİDİ (WEB VE MOBİL) --- */
.bg-registration-banner {
    background-color: transparent !important; /* Arka planı sıfırladık */
    padding: 20px 0;
}

.registration-box {
    background: linear-gradient(90deg, #F89000 0%, #ffac33 100%) !important;
    padding: 30px;
    border-radius: 20px;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(248, 144, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.registration-box h3 { color: #fff !important; font-weight: 700; margin: 0; }
.registration-box p { color: #fff !important; margin: 0; opacity: 0.9; }

.btn_registration {
    background-color: #fff !important;
    color: #F89000 !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    display: inline-block;
}

/* Selectpicker'ın içeriğini her koşulda görünür yap */
.bootstrap-select .filter-option-inner-inner {
    color: #333 !important;
    min-height: 20px !important;
}

/* Kutu boşsa bile yüksekliğini koru */
.bootstrap-select > .dropdown-toggle {
    height: 45px !important;
}

/* --- MOBİL VE TABLET ÖZEL DÜZENLEMELER --- */
@media (max-width: 991px) {
    /* Logo Boyutu ve Sıkışma Engelleme */
    header img.img-fluid {
        max-width: 50px !important; /* Çok daha küçük yaparak yanındaki yazılara yer açtık */
        height: auto !important;
        margin-top: 5px !important;
    }

    ul#top_access {
        padding-left: 5px !important;
        margin-right: -10px !important;
    }

    .main-menu { padding-top: 5px !important; }

    /* Kategoriler: Yan Yana 3 Adet */
    .box_cat_home {
        padding: 15px 5px !important;
        margin-bottom: 10px !important;
        min-height: 110px !important;
    }
    
    .box_cat_home h3 {
        font-size: 11px !important; /* 9px'den 11px'e çıkardık */
        font-weight: 600 !important;
        line-height: 1.2 !important;
        white-space: normal !important; /* Yazı çok uzunsa alt satıra geçsin */
        display: -webkit-box;
        -webkit-line-clamp: 2; /* En fazla 2 satır görünsün */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .box_cat_home img { width: 45px !important; height: auto !important;margin-bottom: 8px !important; }
    .box_cat_home ul { display: none !important; }

    /* Eğitmen Şeridi Mobil Düzenleme */
    .registration-box {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px;
    }

    .btn_registration { width: 100% !important; text-align: center; }
    
    /* 1. İKONLARIN AYARI */
    .col-4 .box_cat_home i {
        font-size: 42px !important;   /* Simge boyutu (Büyüttük) */
        width: 80px !important;       /* Dairenin genişliği */
        height: 80px !important;      /* Dairenin yüksekliği */
        line-height: 80px !important; /* Simgeyi dairenin ortasına hizalar */
    }

    /* 2. YAZILARIN AYARI */
    .col-4 .box_cat_home h3 {
        font-size: 18px !important;   /* Yazı puntosu (Okunur hale getirdik) */
        font-weight: 600 !important;  /* Biraz daha kalın (bold) olsun */
        margin-top: 5px !important;   /* İkonla yazı arası mesafe */
        line-height: 1.2 !important;  /* Satır aralığı */
    }

    /* 3. KUTU KENAR BOŞLUKLARI (Sıkışıklığı önlemek için) */
    .col-4 {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}
/* Öğretmen Bul, Profilleri İncele vs. Başlık Rengi */
.box_feat h3 {
    color: #fa9d0d !important;
}

/* Hemen Kayıt Ol Butonu Rengi */
.btn_registration {
    background-color: #0e4293 !important;
    color: #ffffff !important;
    border-color: #0e4293 !important;
}
/* Nasıl Çalışır Butonu Rengi */
.btn_1 {
    background-color: #fa9d0d !important;
    color: #ffffff !important;
    border-color: #fa9d0d !important;
}

/* Üzerine gelince biraz koyulaşması veya aynı kalması için (İsteğe bağlı) */
.btn_1:hover {
    background-color: #e58d00 !important;
    border-color: #e58d00 !important;
    color: #ffffff !important;
}
/* İkonu diğerleriyle aynı boyuta (yaklaşık 100px) getirir */
.ikon-ogretmen {
  max-width: 100px; /* Resim_0.png'deki tahmini genişlik */
  height: auto; /* Oranı korur */
  display: block; /* Ortalamak için */
  margin: 0 auto 20px auto; /* Ortalar ve altına boşluk bırakır */
}

/* Başlık metnini küçültür ve rengini pembemsi yapar (image_0.png'deki gibi) */
.baslik-turuncu {
  font-size: 1.5rem; /* Veya 24px gibi bir değer, diğer başlıklarla aynı olsun */
  color: #f06292; /* Resim_0.png'deki pembe renk tonu */
  text-align: center;
  margin-top: 0;
}
