
/* Cyber Shikayat Popup Styling */

.cs-popup-overlay,
.cs-popup-overlay * {
  box-sizing: border-box;
}

.cs-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  padding: 18px;
  background: rgba(5, 19, 39, 0.78);
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  font-family: Arial, sans-serif;
}

.cs-popup-overlay.cs-popup-open {
  display: flex;
}

.cs-popup-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  background: #ffffff;
  color: #17243a;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.cs-popup-card h2 {
  margin: 0 35px 8px 0;
  font-size: 25px;
  line-height: 1.3;
}

.cs-popup-description {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.cs-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  color: #39465a;
  font-size: 30px;
  cursor: pointer;
}

.cs-popup-field {
  margin-bottom: 14px;
}

.cs-popup-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.cs-popup-field input,
.cs-popup-field textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #17243a;
  font-family: inherit;
  font-size: 14px;
}

.cs-popup-field textarea {
  resize: vertical;
  min-height: 95px;
}

.cs-popup-field input:focus,
.cs-popup-field textarea:focus {
  outline: 2px solid #93c5fd;
  border-color: #2563eb;
}

.cs-popup-field small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 12px;
}

.cs-popup-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #1266d5;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.cs-popup-submit:hover {
  background: #0b50ad;
}

.cs-popup-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 480px) {
  .cs-popup-overlay {
    padding: 10px;
  }

  .cs-popup-card {
    padding: 24px 18px;
  }

  .cs-popup-card h2 {
    font-size: 22px;
  }
}

 /* Popup closed hone par hide rahe */
#csPopupOverlay:not(.cs-popup-open) {
  display: none !important;
}

/* Popup open hone par show ho */
#csPopupOverlay.cs-popup-open {
  display: flex;
}
