/* Cihaz Servisi kurulmadığında Login ekranında ve SatisEkrani'ndaki Cihaz Servisi
   panelinde gösterilen ortak kurulum kartı. İki bağlamda da (sabit banner / popup
   içi kart) aynı sınıflarla kullanılır - bkz. Views/Login/Index.cshtml ve
   Views/Satis/SatisEkrani.cshtml (#newpopDeviceServiceStatus). */

.csiCard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #283048, #3D4764);
  box-shadow: 0 12px 32px rgba(14, 33, 63, 0.25);
}

.csiCard .csiIcon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(218, 68, 60, 0.16);
  color: #ff8079;
  display: flex;
  align-items: center;
  justify-content: center;
}

.csiCard .csiIcon svg {
  width: 22px;
  height: 22px;
}

.csiCard .csiBody {
  flex: 1;
  min-width: 0;
}

.csiCard .csiTitle {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.csiCard .csiDesc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
}

.csiCard .csiActions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.csiCard .csiInstallButton {
  border: none;
  border-radius: 9px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #0E213F;
  white-space: nowrap;
}

.csiCard .csiInstallButton:hover {
  background: #f0f2f7;
}

.csiCard .csiDownloadedNote {
  display: none;
  color: #8fe3a1;
  font-size: 12px;
  font-weight: 600;
}

.csiCard .csiDownloadedNote.show {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.csiCard .csiPostInstallHint {
  display: none;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.5;
}

.csiCard .csiPostInstallHint.show {
  display: block;
}

/* Login ekranındaki sabit-konumlu banner varyantı (pwaInstallBanner ile aynı pattern) */
.csiBanner {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 200;
  max-width: 400px;
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.csiBanner.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .csiBanner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
