/* Body styling handled by dark-theme.css */

/* Headings will be handled by theme.css */

.card {
  font-size: 0.9rem;
  border-radius: 0.5rem;
  /* Colors will be handled by theme.css */
}




.form-control,
.form-select {
  font-size: 0.9rem !important;
  border-radius: 0.375rem;
  transition: border-color 0.3s ease;
  /* Colors will be handled by theme.css */
}

.form-label,
.form-check-label {
  font-size: 0.9rem !important;
  /* Colors will be handled by theme.css */
}

.form-check-input {
  accent-color: #0d6efd !important;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
  /* Colors will be handled by theme.css */
}

::placeholder {
  opacity: 0.7;
  /* Colors will be handled by theme.css */
}

a {
  color: #0d6efd;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #0a58ca;
  text-decoration: underline;
}

/* Tables handled by dark-theme.css */

.premium-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.059));
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 24px rgba(0, 255, 255, 0.06), inset 0 0 8px rgba(255, 255, 255, 0.03);
  overflow: hidden;
  min-height: 300px;
  color: #ffffffe6;
}

/* Hover Effects */
.premium-card:hover {
  box-shadow:
    0 8px 40px rgba(0, 255, 255, 0.15),
    0 0 8px rgba(0, 255, 255, 0.25),
    inset 0 0 8px rgba(255, 255, 255, 0.05);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

/* Icon styling */
.icon {
  margin-bottom: 1rem;
  animation: popIn 0.6s ease forwards;
}


.premium-icon {
  font-size: 3.5rem;
  color: #00fdfd;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
  transition: all 0.4s ease;
}

.premium-card:hover .premium-icon {
  transform: scale(1.15) rotate(4deg);
  text-shadow: 0 0 25px rgba(0, 255, 255, 0.242), 0 0 8px rgba(0, 255, 255, 0.836);
}

/* Title & text */
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  animation: fadeSlideUp 0.6s ease-in-out forwards;
}

.card-text {
  color: #d0d0d0;
  font-size: 0.98rem;
  line-height: 1.5;
  animation: fadeSlideUp 0.8s ease-in-out forwards;
}


/* Decorative Corners */
.corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.758);
  border-radius: 2px;
  opacity: 0.5;
  z-index: 1;
}

.corner-tl {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.corner-tr {
  top: 10px;
  right: 10px;
  border-width: 2px 2px 0 0;
}

.corner-bl {
  bottom: 10px;
  left: 10px;
  border-width: 0 0 2px 2px;
}

.corner-br {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}

/* Animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.content {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-primary) !important;
  padding: 0;
  position: relative;
}

.content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(79, 195, 247, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}


.jconfirm-premium-dark .jconfirm-box {
  background-color: #1e1e2f;
  color: #ffffff;
  border: 1px solid #3a3a50;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
}

.jconfirm-premium-dark .jconfirm-title {
  color: #ffc107;
  /* gold-like title */
  font-weight: 600;
  font-size: 1.25rem;
}

.jconfirm-premium-dark .jconfirm-buttons button {
  background-color: #343a40;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
}

.jconfirm-premium-dark .jconfirm-buttons button:hover {
  background-color: #495057;
}

.jconfirm-premium-dark .jconfirm-icon {
  color: #28a745;
  /* green for success, red for error etc. */
  font-size: 1.75rem;
  margin-right: 10px;
}

.typing-loader {
  display: inline-block;
  font-size: 18px;
  letter-spacing: 2px;
}

.typing-loader span {
  animation: blink 1s infinite;
}

.typing-loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {

  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

.typing-loader span {
  animation: blink 1s infinite;
  font-size: 24px;
  padding: 0 2px;
}

.typing-loader span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}










/* RESTYLE THE CONFIRM JS ALERT */
:root {
  --jc-success-1: #e9f9ee;
  --jc-success-2: #ffffff;
  --jc-success-3: #4caf50;
  --jc-success-4: #2e7d32;
}

/* dimmed background */
.jconfirm .jconfirm-bg {
  background: rgba(8, 30, 8, 0.48) !important;
  backdrop-filter: blur(4px) saturate(1.02) !important;
}

/* main box */
.jconfirm .jconfirm-box {
  max-width: 540px !important;
  border-radius: 14px !important;
  padding: 18px !important;
  border: 1px solid rgba(76, 175, 80, 0.12) !important;
  background: linear-gradient(180deg, var(--jc-success-1), var(--jc-success-2)) !important;
  box-shadow: 0 18px 40px rgba(46, 125, 50, 0.12) !important;
  animation: jc-pop .42s cubic-bezier(.18, .9, .32, 1) !important;
  overflow: hidden !important;
}

/* tighten up inner pane */
.jconfirm .jconfirm-content-pane {
  padding: 0 !important;
}

/* title row: icon + title */
.jconfirm .jconfirm-title-c {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(76, 175, 80, 0.06);
}

/* circular icon badge */
.jconfirm .jconfirm-icon,
.jconfirm .jconfirm-icon i,
.jconfirm .jconfirm-icon .fa {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6ff08c, #2e7d32) !important;
  color: #fff !important;
  font-size: 22px !important;
  box-shadow: 0 8px 22px rgba(46, 125, 50, 0.18) !important;
  flex-shrink: 0;
}

/* title text */
.jconfirm .jconfirm-title {
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  color: var(--jc-success-4) !important;
  margin: 0 !important;
  line-height: 1.05 !important;
}

/* content body */
.jconfirm .jconfirm-content {
  font-size: 1rem !important;
  color: #133e22 !important;
  padding-top: 10px !important;
  line-height: 1.45 !important;
}

/* button row layout */
.jconfirm .jconfirm-buttons {
  display: flex !important;
  gap: 10px !important;
  justify-content: flex-end !important;
  margin-top: 14px !important;
}

/* primary button style */
.jconfirm .jconfirm-buttons button,
.jconfirm .jconfirm-buttons .btn {
  background: linear-gradient(180deg, #4caf50, #388e3c) !important;
  border-radius: 10px !important;
  border: none !important;
  padding: 10px 18px !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 26px rgba(46, 125, 50, 0.16) !important;
  cursor: pointer !important;
  transition: transform .12s ease, box-shadow .12s ease !important;
}

/* hover / focus */
.jconfirm .jconfirm-buttons button:hover,
.jconfirm .jconfirm-buttons .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 34px rgba(46, 125, 50, 0.22) !important;
}

.jconfirm .jconfirm-buttons button:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.10) !important;
}

/* secondary / cancel button */
.jconfirm .jconfirm-buttons .cancel,
.jconfirm .jconfirm-buttons .btn-default {
  background: transparent !important;
  color: var(--jc-success-4) !important;
  border: 1px solid rgba(46, 125, 50, 0.10) !important;
  box-shadow: none !important;
}

/* small responsive tweak */
@media (max-width: 480px) {
  .jconfirm .jconfirm-box {
    margin: 12px !important;
    width: calc(100% - 24px) !important;
  }

  .jconfirm .jconfirm-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* pop-in animation */
@keyframes jc-pop {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(.98);
  }

  60% {
    opacity: 1;
    transform: translateY(6px) scale(1.02);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}