/* Overrides for Receive-SMSS section embedded in hero */
.header-one .header-content-area {
  height: auto;
  min-height: 650px;
  padding-bottom: 24px;
}
@media only screen and (min-width: 1400px) {
  .header-one .header-content-area { min-height: 900px; }
}
@media (max-width: 767px) {
  .header-one .header-content-area { min-height: 550px; }
}

/* Ensure the embedded card grid behaves within the hero */
#receive-smss-home { position: relative; z-index: 6; }
#receive-smss-home .card { border: 1px solid #e9ecef; min-width: 240px; }
#receive-smss-home .collapse { transition: height .25s ease; }

/* Tam genişlik bölümün üst katmanda kalması için */
#receive-smss-section { position: relative; z-index: 5; }

/* Daha sık grid için küçük yatay aralıklar */
#receive-smss-home .rs-col { padding-left: 6px; padding-right: 6px; }

/* Yeni gelen mesaj vurgusu (yüksek özgülük ve !important) */
#receive-smss-home .list-group .msg-new,
#receive-smss-home .list-group-item.msg-new {
  background-color: #eaffea !important;
  border-left: 4px solid #28a745;
}
#receive-smss-home .list-group .msg-new,
#receive-smss-home .list-group-item.msg-new { transition: background-color .25s ease; }

/* Koyu modda kontrastı koru */
@media (prefers-color-scheme: dark) {
  #receive-smss-home .list-group .msg-new,
  #receive-smss-home .list-group-item.msg-new {
    background-color: rgba(34, 197, 94, 0.18) !important; /* #22c55e with alpha */
    border-left-color: #22c55e;
  }
}

/* Mobil spesifik: bazı mobil tarayıcılarda list-group-item arka plan baskın gelebilir */
@media (max-width: 768px) {
  #receive-smss-home .list-group .msg-new,
  #receive-smss-home .list-group-item.msg-new {
    background-image: none !important;
    box-shadow: inset 0 0 0 9999px rgba(234, 255, 234, 1);
  }
}
