/* =========================================================================
   GUNTUR BIRYANI - PREMIUM LIGHT LUXURY CUSTOM DIALOG & ALERT SYSTEM (CSS)
   Clean, modern, high-contrast modal dialog matching modern web aesthetics
   ========================================================================= */

.gb-dialog-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  padding: 16px;
  box-sizing: border-box;
}

.gb-dialog-backdrop.gb-dialog-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Card - Pristine Clean Light Theme */
.gb-dialog-box {
  background: #ffffff;
  border: 1px solid #eef2f6;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 0 1px rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 34px 28px 28px;
  text-align: center;
  box-sizing: border-box;
  transform: scale(0.92) translateY(8px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', Helvetica, Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

.gb-dialog-backdrop.gb-dialog-visible .gb-dialog-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Modal Icon Emblem - Soft Pastel Container */
.gb-dialog-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gbDialogIconPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes gbDialogIconPop {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Icon Variations (Soft Pastel Theme) */
.gb-dialog-type-info .gb-dialog-icon-wrapper {
  background: #fef3c7;
  color: #b45309;
}

.gb-dialog-type-success .gb-dialog-icon-wrapper {
  background: #d1fae5;
  color: #059669;
}

.gb-dialog-type-warning .gb-dialog-icon-wrapper {
  background: #fef3c7;
  color: #d97706;
}

.gb-dialog-type-error .gb-dialog-icon-wrapper {
  background: #fee2e2;
  color: #dc2626;
}

/* Modal Title - Deep Navy Bold Typography with High Contrast */
.gb-dialog-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a !important;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

/* Modal Message Body - Clean Slate Grey */
.gb-dialog-message {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 26px 0;
  word-break: break-word;
}

/* Action Buttons Container */
.gb-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Primary Action Button (Warm Golden Amber Squircle from User Reference Image) */
.gb-dialog-btn-primary {
  background: #fbbf24;
  color: #0f172a !important;
  border: none;
  border-radius: 12px;
  padding: 12px 42px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.35);
  transition: all 0.18s ease;
  min-width: 120px;
  outline: none;
}

.gb-dialog-btn-primary:hover, .gb-dialog-btn-primary:focus {
  background: #f59e0b;
  color: #0f172a !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.gb-dialog-btn-primary:active {
  transform: translateY(0);
}

/* Secondary Action Button (Cancel) */
.gb-dialog-btn-secondary {
  background: #f1f5f9;
  color: #475569 !important;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  min-width: 100px;
  outline: none;
}

.gb-dialog-btn-secondary:hover, .gb-dialog-btn-secondary:focus {
  background: #e2e8f0;
  color: #0f172a !important;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .gb-dialog-box {
    padding: 28px 20px 24px;
    border-radius: 20px;
    max-width: 340px;
  }
  .gb-dialog-title {
    font-size: 1.25rem;
  }
  .gb-dialog-message {
    font-size: 0.9rem;
  }
  .gb-dialog-btn-primary {
    padding: 11px 32px;
  }
}
