:root {
  --rg-bg-page: #f4f5f7;
  --rg-bg-card: #ffffff;
  --rg-text-primary: #111827;
  --rg-text-secondary: #6B7280;
  --rg-border-color: #E5E7EB;
  --rg-button-default-border: #D1D5DB;
  --rg-accent-blue-glow: rgba(0, 118, 255, 0.39);

  --rg-border-radius-card: 12px;
  --rg-border-radius-button: 8px;
  --rg-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  --rg-transition: all 0.2s ease-in-out;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--rg-bg-page);
  color: var(--rg-text-primary);
  margin: 0;
  /* padding: 20px; */
}

.rg-container {
  max-width: 900px;
  margin: 40px auto;
  background: var(--rg-bg-card);
  border-radius: var(--rg-border-radius-card);
  box-shadow: var(--rg-shadow);
  padding: 25px 30px;
}

.rg-title {
  text-align: center;
  padding-bottom: 30px;
}

.dataTables_wrapper .top-controls,
.dataTables_wrapper .bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.dataTables_wrapper .top-controls {
  margin-bottom: 15px;
}

.dataTables_wrapper .bottom-controls {
  margin-top: 15px;
}

.dataTables_length,
.dataTables_filter {
  color: var(--rg-text-secondary);
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
  background-color: #fff;
  border: 1px solid var(--rg-border-color);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 0 5px;
}

#rg-dataTable {
  width: 100% !important;
  border-collapse: collapse;
}

#rg-dataTable thead th {
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--rg-text-secondary);
  padding: 12px 15px;
  border-bottom: 2px solid var(--rg-border-color);
  text-align: left;
}

#rg-dataTable tbody td {
  padding: 14px 15px;
  border-bottom: 1px solid var(--rg-border-color);
}

#rg-dataTable tbody tr:last-child td {
  border-bottom: none;
}

.dt-center {
  text-align: center;
}



.dataTables_info {
  color: var(--rg-text-secondary);
  font-size: 0.9rem;
  padding-top: 10px;
}

.dataTables_paginate .paginate_button {
  font-weight: 500;
  padding: 8px 16px;
  margin: 0 3px;
  border-radius: var(--rg-border-radius-button);
  border: 1px solid var(--rg-button-default-border);
  background: white;
  color: var(--rg-text-primary);
  transition: var(--rg-transition);
  cursor: pointer;
  user-select: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: linear-gradient(135deg, #00D9E9, #00AAB8) !important;
  color: #fff !important;
  box-shadow: 0 5px 15px 0 var(--rg-accent-blue-glow);
  border: none !important;
}

.dataTables_paginate .paginate_button:not(.current):not(.disabled):hover {
  background: linear-gradient(135deg, #00D9E9, #00AAB8) !important;
  border-color: #c5c5c5;
}

.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next,
.dataTables_paginate .paginate_button.ellipsis {
  background: transparent;
  border: none;
  box-shadow: none;
}

.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover {
  opacity: 0.5;
  cursor: default;
  background: transparent;
  border: none;
  box-shadow: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current a,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover a {
  color: #fff !important;
}

@media (max-width: 768px) {
  /* body {
    padding: 10px;
  } */

  .rg-container {
    padding: 15px;
    margin: 20px auto;
  }

  .top-controls,
  .bottom-controls {
    flex-direction: column;
    gap: 15px;
  }

  .dataTables_filter {
    width: 100%;
    text-align: left;
  }

  .dataTables_filter input {
    width: calc(100% - 80px);
  }
}





/* Container Styles */
.the-neet-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 20px;
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

.the-neet-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px; /* adjust curve height */
  background: rgb(0 188 212 / 27%); /* peach color */
  z-index: 0;
  clip-path: ellipse(140% 100% at 50% 0%);
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }

  100% {
    background-position: 0% 50%
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  padding: 30px;
  text-align: center;
  position: relative;
  animation: modalAppear 0.4s ease;
}

@keyframes modalAppear {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal h3 {
  color: #1a2a6c;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

#modalOptions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 25px 0;
}

.package-btn {
  background: linear-gradient(135deg, #398fc5, #0097a7);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(26, 42, 108, 0.3);
}

.package-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(26, 42, 108, 0.4);
}

.package-btn.cancel {
  background: linear-gradient(to right, #ffffff, #ffffff);
  color: black;
  margin-top: 10px;
  transition: 0.2s;
}

.package-btn.cancel:hover {
  background: linear-gradient(to right, #146bcf, #0d9dc9);
  color: white
}

/* Predictor Container */
.predictor-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  width: 100%;
  max-width: 800px;
  position: relative;
}

.predictor-header {
  background: linear-gradient(135deg, #2595a3, #0e828f);
  color: white;
  padding: 25px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.predictor-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  transform: rotate(30deg);
}

.predictor-title {
  font-size: 2.2rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  color: #fff;
}

.predictor-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.predictor-content {
  padding: 30px;
}

/* Form Elements */
.predictor-form {
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.predictor-form label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  background: #f5f7ff;
  padding: 12px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.predictor-form label:hover {
  background: #e6ebff;
  transform: translateY(-2px);
}

.predictor-form input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #1a2a6c;
}

.predictor-input {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  border: 2px solid #e0e7ff;
  border-radius: 50px;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
}

.predictor-input:focus {
  border-color: #1a2a6c;
  box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.2);
}

.predictor-button {
  background: linear-gradient(135deg, #2595a3, #0e828f);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 42, 108, 0.3);
}

.predictor-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 42, 108, 0.4);
}

.predictor-button:active {
  transform: translateY(1px);
}

/* Results and Messages */
.predictor-error {
  color: #d9534f;
  font-weight: 500;
  min-height: 24px;
  margin: 10px 0 20px;
  padding: 10px 15px;
  border-radius: 10px;
  background: #fef0f0;
  display: none;
}

.predictor-error.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.loading-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9534f;
  margin-left: 4px;
  animation: pulse 1.5s infinite;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.predictor-results {
  margin: 25px 0;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.result-table th {
  background: #1a2a6c;
  color: white;
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

.result-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.result-table tr:nth-child(even) {
  background: #f8f9ff;
}

.result-table tr:hover {
  background: #eef2ff;
}

/* Disclaimer */
.disclaimer {
  margin-top: 30px;
  padding: 15px 20px;
  background: #f5f7ff;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #555;
}

.disclaimer a {
  color: #1a2a6c;
  text-decoration: none;
  font-weight: 600;
}

.disclaimer a:hover {
  text-decoration: underline;
}

/* Preloader */
#preloader0 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a2a6c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 70px;
  height: 70px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .predictor-title {
    font-size: 1.8rem;
  }

  .predictor-form {
    flex-direction: column;
    align-items: stretch;
  }

  .predictor-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .predictor-title {
    font-size: 1.5rem;
  }

  .modal {
    padding: 20px;
  }

  .package-btn {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .result-table th,
  .result-table td {
    padding: 10px 5px;
    font-size: 0.9rem;
  }
}