/* ========== Global Styles ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url('interview_bkgrd.jpg') no-repeat center center fixed;
  background-size: cover;
  padding: 24px;
  min-height: 100vh;
  color: #1f2937;
}

/* ========== Containers & Layout ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  text-align: left;
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}

/* 👇 Add this BELOW .container and .card */
.card.container {
  max-width: 800px; /* ✅ This limits the content width */
}

.centered {
  text-align: center;
}

/* ========== Typography ========== */
h1, h2, h3 {
  color: #111827;
  margin-bottom: 16px;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ========== Buttons ========== */
button {
  display: block;
  width: 100%;
  background-color: #2563eb;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 10px;
}

button:hover {
  background-color: #1e40af;
}

button.secondary {
  background-color: #10b981;
}

button.secondary:hover {
  background-color: #059669;
}

.btn-blue {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2563eb; /* blue-600 */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
}

.btn-blue:hover {
  background-color: #1e40af; /* blue-700 */
}

/* ========== Forms ========== */
input, select, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 16px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}

/* ========== Links ========== */
a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========== Utilities ========== */
.hidden {
  display: none;
}

.mt-2 {
  margin-top: 8px;
}

.mt-4 {
  margin-top: 16px;
}

.mb-4 {
  margin-bottom: 16px;
}

.text-sm {
  font-size: 0.875rem;
}

/* ========== Pricing Page Grid ========== */
.pricing-grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== Pricing Cards ========== */
.pricing-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 24px;
  text-align: left;
}

.pricing-card h3 {
  color: #111827;
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.pricing-card ul li {
  margin-bottom: 8px;
}

/* ========== Footer ========== */
footer {
  margin-top: 32px;
  padding: 16px;
  text-align: center;
  background-color: #ffffffdd;
  font-size: 14px;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}

/* ========== Alerts & Messages ========== */
.alert-success {
  background-color: #d1fae5;
  border-left: 4px solid #10b981;
  padding: 12px;
  margin-top: 16px;
}

.alert-error {
  color: #dc2626;
  margin-top: 10px;
  font-size: 14px;
}

.pricing-header {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #1e293b; /* dark slate */
}

.flex {
  display: flex;
  align-items: center;
}

.items-center {
  align-items: center;
}

input[type="radio"] {
  transform: scale(1.2);
  accent-color: #2c3e50; /* Optional: style the radio button */
}

/*.option-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  white-space: nowrap;        /* Prevents text from wrapping */
}*/

/* ========== To improve spacing/appearance ========== */
#submissions a {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  color: #1a56db;
  text-decoration: none;
}

#submissions a:hover {
  text-decoration: underline;
  color: #0c369c;
}

/* ========== To improve spacing for questions ========== */
.radio-row {
  display: block;
  margin-bottom: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  text-align: left;
  flex-wrap: wrap;
}

.radio-option input[type="radio"] {
  flex-shrink: 0;
  transform: scale(1.2);
  accent-color: #2c3e50;
}

.radio-option span {
  word-break: break-word;
  max-width: 600px;
}

.logo-top-left {
  text-align: left;
  margin-bottom: 20px;
}

/* ========== To improve admin page layout ========== */
.submission-card {
  background: #ffffffdd;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.submission-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.submission-meta {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.view-button {
  display: inline-block;
  padding: 6px 12px;
  background: #0056b3;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.view-button:hover {
  background: #004494;
}

/* === Assessment Layout Enhancements === */

#questions > div {
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

/* Style each option row */
.radio-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
}

/* Label and radio alignment */
.radio-option {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}

/* Add spacing between radio and text */
.radio-option input[type="radio"] {
  margin-right: 12px;
}

/* Size and accent color for radio buttons */
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #007bff; /* Optional: blue highlight */
}

/* Optional: hover effect */
.radio-option:hover {
  background-color: #f9f9f9;
  border-radius: 4px;
}

/* Space between options */
.radio-row:not(:last-child) {
  margin-bottom: 8px;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
  .radio-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .radio-option {
    font-size: 15px;
  }
}

/* ==========================================
   GLASS EFFECT FOR CARD CONTAINER (SAFE)
   ========================================== */

body.admin-theme .card.container {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.55),      /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================
   GLASS EFFECT FOR LOGIN CARD (SAFE)
   ========================================== */

body.login-theme .card.container {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.55),      /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================
   GLASS EFFECT FOR PRICING CARDS (SAFE)
   ========================================== */

body.pricing-theme .pricing-card {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 20px;

  padding: 30px;
  box-shadow:
    0 25px 55px rgba(0, 0, 0, 0.45),       /* outer shadow */
    inset 0 0 35px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: 0.3s;
}

/* Hover effect */
body.pricing-theme .pricing-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-6px);
}

/* ==========================================
   GLASS EFFECT FOR ASSESSMENT CARD (SAFE)
   ========================================== */

body.assessment-theme .card.container {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),       /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

/* ==========================================
   GLASS EFFECT FOR REGISTER CARD (SAFE)
   ========================================== */

body.register-theme .card.container {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),       /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

/* ==========================================
   GLASS EFFECT FOR FORGOT-PASSWORD CARD (SAFE)
   ========================================== */

body.forgot-theme .card.container {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),       /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

/* ==========================================
   GLASS EFFECT FOR RESET-PASSWORD CARD (SAFE)
   ========================================== */

body.reset-theme .card.container {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),       /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

/* ==========================================
   GLASS EFFECT FOR VERIFIED PAGE (SAFE)
   ========================================== */

body.verified-theme .card {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),       /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

/* ==========================================
   GLASS EFFECT FOR SUBMISSION PAGE (SAFE)
   ========================================== */

body.submission-theme .card.container {
  background: rgba(255, 255, 255, 0.10);   /* transparent glass */
  backdrop-filter: blur(26px);            /* glass blur */
  -webkit-backdrop-filter: blur(26px);    /* Safari support */
  border-radius: 26px;

  padding: 45px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),       /* outer shadow */
    inset 0 0 40px rgba(255, 255, 255, 0.05); /* inner glow */

  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}
