@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  @apply m-0 font-sans text-gray-900 bg-gray-100;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  @apply font-mono bg-gray-200 px-2 py-1 rounded;
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

/* 🌟 Forgot Password Page Styling */
.page-forgot-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #4CAF50, #2196F3);
}

.page-forgot-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 350px;
  transition: transform 0.3s ease;
}

.page-forgot-card:hover {
  transform: translateY(-5px);
}

.forgot-logo {
  height: 80px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.forgot-logo:hover {
  transform: scale(1.05);
}

.page-forgot-subtext {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

.page-forgot-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-forgot-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.page-forgot-input-icon {
  position: absolute;
  left: 12px;
  color: #888;
}

.page-forgot-form input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}

.page-forgot-form input:focus {
  border-color: #4CAF50;
}

.page-forgot-button {
  background: #4CAF50;
  color: white;
  padding: 12px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.page-forgot-button:hover {
  background: #45A049;
  transform: scale(1.05);
}

.page-forgot-error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: -10px;
}

.page-forgot-success-message {
  color: green;
  font-size: 0.9rem;
  margin-top: -10px;
}

/* ✅ Return to login link */
.page-forgot-links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.page-forgot-links a {
  color: #2196F3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-forgot-links a:hover {
  color: #1976D2;
}

/* 🌟 Login Page Styling (Scoped as page-login-*) */
.page-login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 1rem;
  background: linear-gradient(135deg, #4CAF50, #2196F3);
}

.page-login-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  text-align: center;
  width: 100%;
  max-width: 400px;
  transition: transform 0.3s ease;
}

.page-login-card:hover {
  transform: translateY(-4px);
}

.page-login-card h2 {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.page-login-subtext {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.2rem;
}

.page-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-login-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.page-login-input-icon {
  position: absolute;
  left: 12px;
  color: #888;
  font-size: 1rem;
}

.page-login-input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}

.page-login-input-group input:focus {
  border-color: #4CAF50;
}

.page-login-button {
  background: #4CAF50;
  color: white;
  padding: 12px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.page-login-button:hover {
  background: #45A049;
  transform: scale(1.04);
}

.page-login-error-message {
  color: red;
  font-size: 0.95rem;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}

.page-login-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.page-login-links a {
  color: #2196F3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-login-links a:hover {
  color: #1976D2;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .page-login-card {
    padding: 20px;
  }

  .page-login-button {
    font-size: 1rem;
  }

  .page-login-input-icon {
    left: 10px;
  }
}
.page-login-card .page-login-logo {
  width: 100%px;          /* Shrinks to 30% of the parent width */
  max-width: 200px;    /* Optional cap */
  margin-bottom: 1rem; /* Space below the logo */
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* 🌟 Signup Page Styling */
.page-signup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #4CAF50, #2196F3);
}

.page-signup-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 350px;
  transition: transform 0.3s ease;
}

.page-signup-card:hover {
  transform: translateY(-5px);
}

.signup-logo {
  height: 80px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.signup-logo:hover {
  transform: scale(1.05);
}

.page-signup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-signup-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.page-signup-input-icon {
  position: absolute;
  left: 12px;
  color: #888;
}

.page-signup-input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}

.page-signup-input-group input:focus {
  border-color: #4CAF50;
}

.page-signup-button {
  background: #4CAF50;
  color: white;
  padding: 12px;
  font-size: 1.2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.page-signup-button:hover {
  background: #45A049;
  transform: scale(1.05);
}

.page-signup-error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: -10px;
}

.page-signup-success-message {
  color: green;
  font-size: 0.9rem;
  margin-top: -10px;
}

/* ✅ New section: signup links */
.page-signup-links {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.page-signup-links a {
  color: #2196F3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-signup-links a:hover {
  color: #1976D2;
}

.sidebar {
  width: 250px;
  height: 100vh;
  background-color: #2196F3;
  color: white;
  padding: 10px 0;
  position: fixed;
  overflow-y: auto;
  z-index: 999; 
}

.sidebar-header {
  padding: 2 20px 20px;
  border-bottom: 1px solid #4CAF50;
 
}

.sidebar-menu {
  list-style: none;
  padding: 20px 0;
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #ecf0f1;
  text-decoration: none;
  transition: all 0.3s;
}

.sidebar-link:hover {
  background-color: blue;
}

.sidebar-link.active {
  background-color: #3498db;
  color: white;
}

.sidebar-icon {
  margin-right: 10px;
  font-size: 1.2em;
}

.sidebar-label {
  font-size: 0.9em;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #4CAF50, #2196F3);
  color: white;
  padding: 10px 20px;
  height: 60px;
  position: relative;
  z-index: 101;
}

.header-logo img {
  height: 40px;
}

.header-welcome {
  flex: 1 1;
  text-align: center;
  font-size: 1rem;
}

.header-logout {
  background: none;
  border: 1px solid white;
  padding: 5px 10px;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

/* Mobile-only hamburger menu */
.menu-toggle-button {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .menu-toggle-button {
    display: inline-block;
  }

  .header-welcome {
    display: none;
  }

  .header-logout {
    font-size: 0.9rem;
    padding: 4px 8px;
  }
}

.dashboard-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f0f4f8;
}

.dashboard-body {
  display: flex;
  flex-direction: row;
  flex: 1 1;
  position: relative;
}

.sidebar {
  width: 250px;
  min-width: 250px;
  background: linear-gradient(135deg, #4CAF50, #2196F3);
  color: white;
  height: 100%;
  position: relative;
  z-index: 10;
}

.sidebar-group {
  margin-bottom: 1rem; /* Add vertical spacing between sections */
}

.sidebar-label.group-label {
  display: block;
  padding: 10px 12px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 6px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  display: none; /* default hidden */
}

.dashboard-content {
  flex: 1 1;
  padding: 1rem;
  overflow-y: auto;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 260px;
  background-color: #ffffff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.4s ease-in-out;
  overflow-y: auto;
}
 
  .sidebar.open {
    transform: translateX(0);
    }

  .sidebar-close-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    margin-left: auto;
    margin-right: 1rem;
    cursor: pointer;
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 50;
  }
}

/* page_manage_goals.css */

.page-manage-goals-container {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  min-height: 100vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;
  }
  
  .page-manage-goals-container h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .page-manage-goals-error {
    background-color: #fee2e2;
    color: #b91c1c;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #fca5a5;
  }
  
  .page-manage-goals-form {
    display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem;
  background-color: #e8f5e9;
  border: 1px dashed #81c784;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  margin: 1rem auto;
  max-width: 800px;
     transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .page-manage-goals-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  }
  
  .page-manage-goals-form input,
  .page-manage-goals-form select {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #fff;
    flex: 1 1 180px;
    box-sizing: border-box;
  }
  
  .page-manage-goals-form select:first-of-type {
    flex: 0 1 30%;
    max-width: 30%;
  }
  
  .page-manage-goals-form button {
    padding: 0.5rem 1rem;
    background-color: #2563eb;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
  }
  
  .page-manage-goals-form button:hover {
    background-color: #1e40af;
  }
  
  .page-manage-goals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .page-manage-goals-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 20px;
    background-color: #d7deec;
    border: 1px dashed #89a3d2;
    border-radius: 8px;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }
  
  .page-manage-goals-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  }
  
  .page-manage-goals-row input {
    flex: 1 1 180px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    box-sizing: border-box;
  }
  
  .page-manage-goals-row button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    background-color: #e5e7eb;
  }
  
  .page-manage-goals-row button:hover {
    background-color: #d1d5db;
  }
  
  .page-manage-goals-row .delete-btn {
    background-color: #ef4444;
    color: white;
  }
  
  .page-manage-goals-row .delete-btn:hover {
    background-color: #b91c1c;
  }
  
  .no-goals-message {
    padding: 1rem;
    background-color: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
  }
  
  .loading-indicator {
    font-size: 0.95rem;
    font-style: italic;
    color: #6b7280;
    margin-bottom: 1rem;
  }
  
  @media (max-width: 768px) {
    .page-manage-goals-form input,
    .page-manage-goals-form select,
    .page-manage-goals-row input {
      flex: 1 1 100%;
    }
  
    .page-manage-goals-form,
    .page-manage-goals-row {
      flex-direction: column;
      align-items: stretch;
    }
  
    .page-manage-goals-row button {
      width: 100%;
    }
  }
  
/* page_manage_individuals.css */

.page-manage-individuals-container {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    min-height: 100vh;
    width: 95%;
    max-width: 100%;
    font-family: sans-serif;
    background-color: #93c5fd;
    
    text-align: left;
    
  }
  
  .alert-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #ffeeba;
    text-align: center;
  }
  
  .action-buttons {
    margin-bottom: 30px;
    text-align: center;
  }
  
  /* Modern button styling */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    margin: 0 10px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .btn-primary {
    background-color: #4a6cf7;
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #3a5ce4;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  
  /* Card layout */
  .individuals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    grid-gap: 20px;
    gap: 20px;
    padding: 5;
    list-style: none;
  }
  
  .individual-card {
        margin-bottom: 24px; /* ⬅ adds space between rows */
        padding: 24px;
        background: #ffffff; /* Use white or light tone */
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        align-items: flex-start;
    transition: all 0.3s ease;
    display: flex;
  }
  
  .individual-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  }
  
  /* Horizontal field groups */
  .field-group {
    position: relative;
    min-width: 100px;
    padding: 1px;
    flex: 1 1;
  }
  
  .field-hint {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 12px;
    color: #64748b;
    background: white;
    padding: 0 5px;
    border-radius: 4px;
  }
  
  /* Modern input styling */
  .input-field {
    width: 90%;
    padding: 8px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    transition: all 0.3s;
    background: #f8fafc;
  }
  
  .input-field:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    background: white;
  }
  
  .select-field {
    width: 80%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
    -webkit-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
  }
  
  .select-field:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
    background: white;
  }
  
  /* Action buttons */
  .card-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
  }
  
  .action-btn {
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    max-height: 30px;
  }
  
  .action-btn.save-btn {
    background-color: #10b981;
    color: white;
  }
  
  .action-btn.save-btn:hover {
    background-color: #0d9f6e;
    transform: translateY(-1px);
  }
  
  .action-btn.delete-btn,
  .action-btn.cancel-btn {
    background-color: #ef4444;
    color: white;
    
  }
  
  .action-btn.delete-btn:hover,
  .action-btn.cancel-btn:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
  }
  
  .action-btn.edit-btn {
    background-color: #f59e0b;
    color: white;
  }
  
  .action-btn.edit-btn:hover {
    background-color: #d97706;
    transform: translateY(-1px);
  }
  
  /* Add form styling */
  .add-individual-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  padding: 10px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  justify-content: space-between;
  }
  
  .add-individual-form:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
  }
  
  .form-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  align-items: center;
  margin-left: auto;
}
.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #ffeeba;
  text-align: center;
  font-weight: bold;
}

.alert {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 1rem auto;
  font-size: 0.95rem;
}

  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .individual-card {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .field-group {
      width: 100%;
    }
    
    .card-actions {
      margin-left: 0;
      width: 100%;
      justify-content: flex-end;
    }
  }
 
  /* Ensure each field block has spacing and doesn't overflow */
  .field-group {
    flex: 1 1 1px;
    padding: 1px; /* ⬅ fixes overlap */
    box-sizing: border-box;
    min-width: 150px;
  }
  
  /* Text-only display field, matches input field spacing */
  .readonly-field {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #1e293b;
    word-break: break-word;
  }
  
/* styles/useToast.css */

.toast-message {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font-size: 16px;
  z-index: 99999;
  text-align: center;
  max-width: 90vw;
  width: -webkit-fit-content;
  width: fit-content;
  animation: fadeInOut 3s ease-in-out;
  color: #fff;
}

.toast-success {
  background-color: #28a745;
}

.toast-error {
  background-color: #dc3545;
}

.toast-info {
  background-color: #007bff;
}

@media (max-width: 480px) {
  .toast-message {
    font-size: 14px;
    padding: 12px 20px;
  }
}

@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(-10px); }
  10%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

/* page_manage_objective_progress.css */

.page-manage-objective-progress-container {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    min-height: 100vh;
    width: 95%;
    max-width: 100%;
    font-family: sans-serif;
    color: #2d3748;
    background-color: #93c5fd;
  }
  
  .page-manage-objective-progress-heading {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .page-manage-objective-progress-row,
  .page-manage-objective-progress-row-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background-color: #e8f5e9;
    border: 1px dashed #81c784;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    margin: 1rem auto;
    max-width: 800px;
    transition: transform 0.3s ease;
  }
  
  .page-manage-objective-progress-row:hover,
  .page-manage-objective-progress-row-inline:hover {
    transform: translateY(-4px);
  }
  
  .page-manage-objective-progress-row select,
  .page-manage-objective-progress-row-inline select,
  .page-manage-objective-progress-row input[type="date"] {
    padding: 0.4rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #1e293b;
    background-color: #fff;
    box-sizing: border-box;
    flex: 1 1 30%;
    -webkit-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200l5%206%205-6z%22%20fill%3D%22%23475569%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 6px;
  }
  
  textarea {
    
    width: 95%;
    padding: 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    resize: vertical;
  }
  
  .page-objective-progress-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  
  .page-objective-progress-btn {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 0.875rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.2s ease;
  }
  
  .page-objective-progress-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
  
  .page-objective-progress-btn.delete {
    background-color: #ef4444;
  }
  
  .page-objective-progress-btn.delete:hover {
    background-color: #b91c1c;
  }
  
  .page-manage-objective-progress-description {
    font-style: italic;
    background: #fefcbf;
    border-left: 4px solid #f59e0b;
    padding: 0.75rem 1rem;
    margin: 1rem auto;
    border-radius: 6px;
    max-width: 800px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  @media (max-width: 600px) {
    .page-manage-objective-progress-row,
    .page-manage-objective-progress-row-inline {
      flex-direction: column;
    }
  
    .page-objective-progress-actions {
      flex-direction: column;
      align-items: stretch;
    }
  }
  
/* page_manage_objectives.css */

.page-manage-objectives-container {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  min-height: 100vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;
}

.page-manage-objectives-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.page-manage-objectives-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem;
  background-color: #e8f5e9;
  border: 1px dashed #81c784;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  margin: 1rem auto;
  max-width: 800px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-manage-objectives-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.page-manage-objectives-row select,
.page-manage-objectives-form select,
.page-manage-objectives-form input {
  flex: 1 1 180px;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: #fff;
  box-sizing: border-box;
}

.page-manage-objectives-form select:first-of-type {
  flex: 0 1 30%;
  max-width: 30%;
}

.page-manage-objectives-form button {
  padding: 0.5rem 1rem;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.page-manage-objectives-form button:hover {
  background-color: #1e40af;
}

.page-manage-objectives-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-manage-objectives-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 20px;
  background-color: #d7deec;
  border: 1px dashed #89a3d2;
  border-radius: 8px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-manage-objectives-row:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.page-manage-objectives-row input {
  flex: 1 1 180px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.page-manage-objectives-row button {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  cursor: pointer;
  border: none;
  font-weight: 500;
  background-color: #e5e7eb;
  transition: background-color 0.3s ease;
}

.page-manage-objectives-row button:hover {
  background-color: #d1d5db;
}

.page-manage-objectives-row button:last-of-type {
  background-color: #ef4444;
  color: white;
}

.page-manage-objectives-row button:last-of-type:hover {
  background-color: #b91c1c;
}

.no-data-warning {
  color: #b91c1c;
  font-size: 0.95rem;
  background-color: #fef2f2;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
}

/* Confirm Dialog Overlay */
.confirm-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  /* semi-transparent black */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Dialog Box */
.confirm-dialog-box {
  background: white;
  padding: 24px 32px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

/* Buttons */
.confirm-dialog-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.confirm-dialog-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.confirm-dialog-buttons button:first-child {
  background-color: #28a745;
  /* Green */
  color: white;
}

.confirm-dialog-buttons button:last-child {
  background-color: #ccc;
  color: #333;
}


@media (max-width: 768px) {

  .page-manage-objectives-form input,
  .page-manage-objectives-form select,
  .page-manage-objectives-row input {
    flex: 1 1 100%;
  }

  .page-manage-objectives-form,
  .page-manage-objectives-row {
    flex-direction: column;
    align-items: stretch;
  }

  .page-manage-objectives-row button {
    width: 100%;
  }
}
/* page_manage_progress_notes_mui.css */

.page-progress-notes-container {
    padding: .31rem;
    min-height: 100vh;
    width: 95%;
    max-width: 100%;
    font-family: sans-serif;
    color: #2d3748;
    background-color: #93c5fd;
}

.page-progress-notes-heading {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.controls-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.modern-dropdown,
.modern-date {
  width: 100%;
  padding: .5rem 1.75rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
}

.narrative-group,
.day-program-group {
  margin-bottom: 1.5rem;
}

.narrative-group label,
.day-program-group label {
  display: block;
  margin-bottom: 0rem;
  font-weight: 500;
  
}

.narrative-box,
.day-program-box {
  width: 100%;
  min-height: 10px;
  padding: 1rem;
  border-radius: 16px;
  border: 1px dashed #81c784;
  font-size: 1rem;
  background-color: #e8f5e9;
  resize: vertical;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  margin: 0rem auto;
  max-width: 800px;
  transition: transform 0.3s ease;
}

.medical-supplies {
  margin-top: 2rem;
}

.supplies-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.supply-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  align-items: center;
}

.supply-select,
.supply-qty,
.supply-desc {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  background-color: #fff;
}

.supply-qty {
  width: 80px;
}

.supply-desc {
  flex: 1 1 200px;
}

.remove-btn,
.add-btn,
.repeat-btn,
.save-btn {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  background-color: #2563eb;
  color: white;
  transition: background-color 0.3s ease;
}

.remove-btn {
  background-color: #ef4444;
}

.remove-btn:hover {
  background-color: #b91c1c;
}

.add-btn {
  background-color: #10b981;
  margin-top: 0.5rem;
}

.add-btn:hover {
  background-color: #059669;
}

.repeat-btn {
  background-color: #f59e0b;
  margin-bottom: 0.75rem;
}

.repeat-btn:hover {
  background-color: #d97706;
}

.save-btn {
  margin-top: 2rem;
  width: 100%;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.save-btn:hover {
  background-color: #1d4ed8;
}

/* 📱 Responsive for smaller screens */
@media (max-width: 600px) {
  .controls-row {
    flex-direction: column;
  }

    .modern-date {
    max-width: 80%;
  }

  .narrative-box,
  .day-program-box {
    width: 85%;
    max-width: 85%;
  }

  .supply-item {
    flex-direction: column;
    align-items: stretch;
  }

  .save-btn {
    width: 100%;
  }
}  
.page-manage-regions-container {
  padding: 1rem;
  min-height: 90vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;
  
}

.page-manage-regions-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.page-manage-regions-spinner {
  font-size: 16px;
  color: #777;
  text-align: center;
  padding: 30px;
}
/* Add Region Section */
.page-manage-regions-add {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px 20px;
  background-color: #e8f5e9;
  border: 1px dashed #81c784;
  border-radius: 8px;
}

.page-manage-regions-add input {
  flex: 1 1;
  min-width: 200px;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.page-manage-regions-add-btn {
  background-color: #4caf50;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-manage-regions-add-btn:hover {
  background-color: #388e3c;
  transform: scale(1.05);
}

/* List & Rows */
.page-manage-regions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-manage-regions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 20px;
  background-color: #d7deec;
  border: 1px dashed #89a3d2;
  border-radius: 8px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.page-manage-regions-row input[type="text"] {
  flex: 1 1;
  min-width: 200px;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Buttons */
.page-manage-regions-save-btn {
  background-color: #2196f3;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-manage-regions-save-btn:hover {
  background-color: #1976d2;
  transform: scale(1.05);
}

.page-manage-regions-delete-btn {
  background-color: #f44336;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-manage-regions-delete-btn:hover {
  background-color: #d32f2f;
  transform: scale(1.05);
}






/* src/styles/page_manage_regions.css */

.procedure-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 10;
  background-color: rgba(186, 186, 186, 0.5);
  display: flex;
  justify-content: flex-end;
  z-index: 1000;
  animation: fadeIn 0.5s ease-out;
}

.procedure-drawer {
  width: 700px;
  max-width: 90vw;
  height: 90vh;
  background-color: #def9ec;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.procedure-drawer h2 {
  margin: 0 0 24px 0;
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 1px solid #e2e8f0;
}

.procedure-row {
  margin-bottom: 10px;
}

.procedure-row h4 {
  margin: 0 0 8px 0;
  color: #4a5568;
  font-size: 1rem;
  font-weight: 500;
}

.procedure-row textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.2s;
}

.procedure-row textarea:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.button-row {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  gap: 12px;
}

.save-btn, .cancel-btn {
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.save-btn {
  background-color: #4299e1;
  color: white;
  border: none;
}

.save-btn:hover {
  background-color: #3182ce;
}

.save-btn:disabled {
  background-color: #a0aec0;
  cursor: not-allowed;
}

.cancel-btn {
  background-color: white;
  color: #f80b0b;
  border: 1px solid #e2e8f0;
}

.cancel-btn:hover {
  background-color: #f7fafc;
  border-color: #cbd5e0;
}

.error {
  color: #e53e3e;
  padding: 12px;
  background-color: #fff5f5;
  border-radius: 6px;
  margin-bottom: 16px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .procedure-drawer {
    width: 85vw;
    padding: 16px;
  }
  
  .procedure-row textarea {
    min-height: 100px;
  }
}
.page-manage-roles-container {
  padding: 20px;
  background: #93c5fd;
  min-height: 100vh;
  font-family: sans-serif;
}

.page-manage-roles-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}


.page-manage-roles-spinner {
  font-size: 16px;
  color: #777;
  text-align: center;
  padding: 30px;
}

.page-manage-roles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Readonly role row */
.page-manage-roles-readonly-row {
  padding: 14px 20px;
  background-color: white;
  border: 1px dashed #9ccc65; /* light green */
  border-radius: 8px;
  font-size: 16px;
  color: #333;
  cursor: default;
  transition: background-color 0.3s ease;
}

.page-manage-roles-readonly-row:hover {
  background-color: #f1f8e9; /* subtle hover effect */
}

/* 🌿 Container Styling */
.page-manage-users-container {
  padding: 1rem;
  min-height: 90vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;
}

/* 🧾 Individual Card-Style Row */
.users-table-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem;
  background-color: #e8f5e9;
  border: 1px dashed #81c784;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  margin: 1rem auto;
  max-width: 1350px;
  transition: transform 0.3s ease;
}

.users-table-row:hover {
  transform: translateY(-4px);
}

/* 🎯 Input + Select shared styling */
.editable-field,
.users-table-row select {
  padding: 0.6rem 01rem; /* top-bottom, left-right */
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #1e293b;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%; /* ← Prevent overflow */
}

/* 📧 Optional select dropdown styling */
.users-table-row select {
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%20xmlns%3D%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200l5%206%205-6z%22%20fill%3D%22%23475569%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  background-size: 10px 6dvb;
}

.form-field {
  flex: 1.05 1 200px; /* Grows 5% more than siblings */
  min-width: 280px;
}

/* 🔵 Input focus effect */
.editable-field:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.3);
}

/* 💾 Save Button */
.btn-save {
  background-color: #2563eb;
  color: white;
  border: none;
  padding: 18px 20px;
  font-size: 0.875rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.2s ease;
}

.btn-save:hover {
  background-color: #1d4ed8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-save:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

/* ⚙️ Save/Delete buttons area */
.action-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  min-width: 160px;
}


/* 📱 Responsive for smaller screens */
@media (max-width: 600px) {
  .row-content {
    flex-direction: column;
  }
}



/* Signature Settings Page Styles */

.page-signature-settings {
  padding: 20px;
  max-width: 600px;
  margin: auto;
  font-family: sans-serif;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-signature-settings h2 {
  text-align: center;
  margin-bottom: 20px;
}

.page-signature-settings form > div {
  margin-bottom: 16px;
}

.page-signature-settings label {
  font-weight: bold;
}

.page-signature-settings input[type="text"],
.page-signature-settings input[type="file"],
.page-signature-settings input[type="password"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.page-signature-settings button {
  padding: 10px 16px;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  margin-right: 10px;
}

.page-signature-settings button:hover {
  background-color: #155fa0;
}

.crop-container {
  position: relative;
  width: 100%;
  height: 200px;
  background: #333;
  margin: 16px 0;
  border-radius: 6px;
  overflow: hidden;
}

.cropped-preview {
  margin-top: 20px;
  text-align: center;
}

/* Password Modal Styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 16px;
}

.fire-drills-container {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  min-height: 100vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  background-color: #e0f2fe;
  text-align: left;
}

/* Improved top input bar layout */
.top-input-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 80px;
  margin-bottom: 10px;
}

.top-input-bar .form-group {
  /* Reduced min-width to prevent crowding */
  min-width: 200px;
  flex: 1 1 auto;
}

/* Improved drill form layout */
.drill-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* Increased gap */
  padding: 10px;
  background-color: #e8f5e9;
  border: 1px dashed #81c784;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Updated form group styling */
.form-group {
  display: flex;
  flex-direction: column;
  flex: 1 2 250px; /* More flexible sizing */
  min-width: 0; /* Prevents overflow */
  margin-bottom: 8px;
}

.full-width {
  flex: 1 1 90%;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 4px;
  color: #03122a;
  font-weight: 500;
}

/* Consistent input styling */
.form-group input,
.form-group select,
.form-group textarea {
  padding: 8px 5px;
  font-size: 16px;
  border: 2px solid #81c784;
  border-radius: 8px;
  background-color: #f8fafc;
  transition: all 0.3s ease;
  width: 100%; /* Ensure full width */
  box-sizing: border-box; /* Include padding in width */
}

/* Date input specific styling */
.form-group input[type="date"] {
  width: 100%; /* Full width instead of fixed */
  padding: 8px 10px;
  font-size: 16px;
}

/* Focus states */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 247, 120, 0.2);
  background-color: white;
}

/* Checkbox grid improvements */
.checkbox-grid {
  display: flex;
  gap: 3px 6px; /* Better spacing */
  margin-top: 4px;
}

.checkbox-option {
  display: flex;
  align-items: left;
  gap: 1px;
  min-width: 120px;
}

/* Button styles */
.inline-button {
  height: 42px;
  padding: 0 16px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  flex-shrink: 0; /* Prevent button shrinking */
}

/* Form actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

/* Add these to your existing CSS */
.specify-input {
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #032d59;
  min-width: 200px;
}

/* Date input container */
.date-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Form row styling */
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.form-row .form-group {
  flex: 1 1;
  min-width: 200px;
}
.submit-button {
  background-color: #4a6cf7; /* Primary blue color */
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px; /* Ensures consistent width */
  text-align: center;
}

.submit-button:hover {
  background-color: #3a5bd9; /* Slightly darker blue on hover */
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: none;
}

.submit-button:disabled {
  background-color: #94a3b8; /* Grayed out when disabled */
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.8;
}
.delete-button {
  background-color: #ef4444; /* Red color for destructive action */
  color: white;
  padding: 12px 2px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.delete-button:hover:not(:disabled) {
  background-color: #dc2626; /* Darker red on hover */
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.delete-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.delete-button:disabled {
  background-color: #94a3b8; /* Grayed out when disabled */
  cursor: not-allowed;
  opacity: 0.7;
}

/* For the button container (if you need it) */
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  width: 100%;
}

.cancel-button {
  background-color: #f1f5f9; /* Light gray background */
  color: #64748b; /* Slate-500 text color */
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #cbd5e1; /* Slate-300 border */
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.cancel-button:hover:not(:disabled) {
  background-color: #e2e8f0; /* Slightly darker gray */
  border-color: #94a3b8; /* Darker border on hover */
  color: #475569; /* Darker text */
  transform: translateY(-1px);
}

.cancel-button:active:not(:disabled) {
  transform: translateY(0);
  background-color: #cbd5e1;
}

.cancel-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: #f1f5f9;
  color: #94a3b8;
}

/* If using with inline-button class */
.inline-button {
  height: 42px; /* Matching your other inline buttons */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-button {
  background-color: #4a6cf7; /* Primary blue color */
  color: white;
  padding: 0 16px;
  height: 42px; /* Matching your inline-button height */
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.search-button:hover:not(:disabled) {
  background-color: #3a5bd9; /* Darker blue on hover */
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
}

.search-button:disabled {
  background-color: #94a3b8; /* Gray when disabled */
  cursor: not-allowed;
  opacity: 0.8;
}

/* If you need to adjust the loading state specifically */
.search-button .loading-spinner {
  margin-right: 8px;
  border: 2px solid rgba(247, 242, 242, 0.3);
  border-radius: 50%;
  border-top: 2px solid white;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .top-input-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .top-input-bar .form-group {
    min-width: 100%;
  }
  
  .form-group {
    flex: 1 1 100%;
  }
  
  .checkbox-grid {
    flex-direction: column;
    gap: 8px;
  }
  
  .inline-button {
    width: 100%;
  }
}
/* styles/page_manage_hrst.css */

.page-manage-hrst {
  padding: 2px;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #93c5fd;
}

.page-manage-hrst h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 2px;

}

.form-row select,
.form-row input {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 200px;
  font-size: 14px;
  border: 1px dashed #81c784;
}



.grid-item {
  background: #fff;
  padding: 3px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 1.05);
  background-color: #e8f5e9;
  border: 1px dashed #81c784;
}

.grid-item label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 12px;
  color: #333;
}

.grid-item input {
  width: 25%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

.grid-item select,
.grid-item textarea {
  width: 95%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

button {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

button:hover {
  background-color: #218838;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.grid-hrst-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 40px;
}

.grid-section-title {
  grid-column: 1 / -1;
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 30px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 6px;
}



@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* Title Styling Specific to DPN Report */
.page-dpn-report-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Container Styling */
.page-dpn-report-container {
  padding: 1rem;
  min-height: 90vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;
  
}

/* Control Section */
.dpn-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: left;
}

.dpn-controls select,
.dpn-controls input[type="month"] {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.dpn-controls button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dpn-controls button:hover {
  background-color: #2563eb;
}

/* Error Message */
.error {
  color: #dc2626;
  text-align: center;
  font-weight: 500;
  margin-top: 10px;
}




.user-accounts-table th,
.user-accounts-table td {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.user-accounts-table th {
  background-color: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
}



/* Table Styling (used inside DailyProgressNoteReportContent) */
.dpn-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 20px;
}

.dpn-report-table th,
.dpn-report-table td {
  padding: 8px 12px;
  border: 1px solid #3bd116;
  text-align: left;
}

.dpn-report-table th {
  background-color: #186395;
  color: #0f172a;
  font-weight: 600;
}

.dpn-report-table td {
  background-color: #f58181;
}

/* Status styling if used */
.status-success {
  color: #16a34a;
  font-weight: 600;
}

.status-missing {
  color: #dc2626;
  font-weight: 600;
}

/* Centered fallback */
.text-center {
  text-align: center;
}

/* Print Support */
@media print {
  .dpn-report-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }

  .dpn-controls,
  .page-dpn-report-title {
    display: none !important;
  }

  .page-dpn-report-container {
    padding: 0;
    background-color: white !important;
  }
}

/* styles/page_report_common.css */

/* Base styles for all reports */
.report-wrapper {
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.report-title {
  color: #333;
  margin: 0;
  font-size: 24px;
}

.report-btn-group {
  display: flex;
  gap: 10px;
}

.btn-print, .btn-download {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-print {
  background-color: #f0f0f0;
  color: #333;
}

.btn-print:hover {
  background-color: #e0e0e0;
}

.btn-download {
  background-color: #4CAF50;
  color: white;
}

.btn-download:hover {
  background-color: #45a049;
}

.report-body {
  overflow-x: auto;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.report-table th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  text-align: left;
  padding: 12px 15px;
  border-bottom: 2px solid #dee2e6;
}

.report-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #dee2e6;
  vertical-align: top;
}

.report-table tr:hover {
  background-color: #f5f5f5;
}

.report-error {
  color: #dc3545;
  padding: 15px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin: 20px 0;
}

.report-loading {
  padding: 20px;
  text-align: center;
  color: #6c757d;
  font-style: italic;
}

/* Print-specific styles */
@media print {
  @page {
    size: auto;
    margin: 10mm;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  .no-print {
    display: none !important;
  }

  .report-wrapper {
    box-shadow: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10pt;
  }

  .report-table th {
    background-color: #f2f2f2 !important;
    color: #000 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .report-table th,
  .report-table td {
    border: 1px solid #ddd !important;
    padding: 6px 8px !important;
  }

  .report-table tr:nth-child(even) {
    background-color: #f9f9f9 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  a {
    text-decoration: none;
    color: #000;
  }

  .report-title {
    font-size: 16pt;
    margin-bottom: 10pt;
  }
}

/* styles/page_user_accounts_report.css */

/* Specific tweaks for user accounts report */
.report-table td:nth-child(5), /* Active column */
.report-table td:nth-child(6) { /* Mentor column */
  text-align: center;
}

.report-table th:nth-child(5),
.report-table th:nth-child(6) {
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .report-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .report-title {
    font-size: 20px;
  }

  .report-table {
    font-size: 14px;
  }

  .report-table th,
  .report-table td {
    padding: 8px 10px;
  }
}
/* ================================
   Fire Drills Report - Styling
   ================================ */

/* Title Styling */
.page-fire-drills-report-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Main Container */
.page-fire-drills-report-container {
  padding: 1rem;
  min-height: 90vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;

}

/* Control Section */
.fire-drills-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: left;
}

.fire-drills-controls select,
.fire-drills-controls input[type="month"] {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.fire-drills-controls button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.fire-drills-controls button:hover {
  background-color: #2563eb;
}

/* Error Message */
.error {
  color: #dc2626;
  text-align: center;
  font-weight: 500;
  margin-top: 10px;
}

/* Report Table */
.fire-drills-report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 20px;
}

.fire-drills-report-table th,
.fire-drills-report-table td {
  padding: 8px 12px;
  border: 1px solid #fb923c;
  text-align: left;
}

.fire-drills-report-table th {
  background-color: #fed7aa;
  color: #0f172a;
  font-weight: 600;
}

.fire-drills-report-table td {
  background-color: #fff7ed;
}

/* Status Styling */
.status-success {
  color: #15803d;
  font-weight: 600;
}

.status-missing {
  color: #dc2626;
  font-weight: 600;
}

/* Centered Fallback */
.text-center {
  text-align: center;
}

/* Print Support */
@media print {

  .fire-drills-controls,
  .page-fire-drills-report-title {
    display: none !important;
  }

  .page-fire-drills-report-container {
    padding: 0;
    background-color: white !important;
  }

  .fire-drills-report-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }
}
.page-ods-report-container {
  padding: 1rem;
  min-height: 90vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;
  
}
/* ===== Dropdowns, Date Picker, Buttons ===== */
.ods-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.ods-controls button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ods-controls button:hover {
  background-color: #2563eb;
}



@media (min-width: 600px) {
  .ods-controls {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .ods-controls select,
  .ods-controls input,
  .ods-controls button {
    width: auto;
    flex: none;
  }
}

.ods-controls select,
.ods-controls input,
.ods-controls button {
  padding: 8px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ===== PrinterOptions Alignment ===== */
.print-button,
.email-button {
  padding: 8px 14px;
  background-color: #3b7d3b;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 8px;
}

.print-button:hover,
.email-button:hover {
  background-color: #326932;
}

/* ===== Error Message Styling ===== */
.error {
  color: red;
  font-weight: bold;
  margin-top: 10px;
}

/* Optional: Ensure no zoom issues on mobile */
@media (max-width: 768px) {
  .page-objective-grid-demo {
    zoom: 0.9;
  }
}

/* styles/page_hrst_report.css */

.page-hrst-report-container {
   padding: 1rem;
  min-height: 90vh;
  width: 95%;
  max-width: 100%;
  font-family: sans-serif;
  color: #2d3748;
  background-color: #93c5fd;
}

.page-hrst-report-container h1 {
  font-size: 28px;
  margin-bottom: 24px;
  text-align: left;
  color: #2c3e50;
}

.report-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: left;
  justify-content: left;
  margin-bottom: 24px;
}

.report-filters select,
.report-filters input[type="month"] {
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: border 0.3s ease;
  min-width: 220px;
}

.report-filters select:focus,
.report-filters input[type="month"]:focus {
  border-color: #007bff;
  outline: none;
}

.report-filters button {
  padding: 10px 20px;
  font-size: 15px;
  border: none;
  border-radius: 8px;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.report-filters button:hover:not(:disabled) {
  background-color: #0056b3;
}

.report-filters button:disabled {
  background-color: #adb5bd;
  cursor: not-allowed;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
}

.no-data-message {
  background-color: #fff3cd;
  color: #856404;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
}

/* page_verify_dpn.css */

.page-verify-dpn-container {
  padding: 20px;
  font-family: sans-serif;
  background-color: #f8fafc;
  min-height: 100vh;
}

.page-verify-dpn-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.filters select,
.filters input[type="month"] {
  padding: 8px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  min-width: 200px;
}

.verification-summary {
  background: #e0f7fa;
  padding: 10px 15px;
  border-left: 4px solid #00acc1;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.tab-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  background: #e2e8f0;
  border: none;
  padding: 10px 16px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s ease-in-out;
}

.tab-btn:hover {
  background: #cbd5e1;
}

.active-tab {
  background: #0284c7;
  color: white;
}

.tab-content {
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

/* Autofill section */
.autofill-section {
  margin-top: 20px;
}

.autofill-section h4 {
  margin-top: 15px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.horizontal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.horizontal-list label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.85rem;
}

.autofill-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.autofill-actions button {
  padding: 8px 14px;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  background-color: #38bdf8;
  color: white;
  cursor: pointer;
}

.autofill-actions button:hover {
  background-color: #0ea5e9;
}

.autofill-actions button:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
}

/* Objective grid */
.objective-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: white;
  font-size: 0.9rem;
}

.objective-table th,
.objective-table td {
  border: 1px solid #cbd5e1;
  padding: 8px 10px;
  text-align: left;
}

.objective-table th {
  background-color: #e2e8f0;
}
.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.summary-table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
}
.verify-message {
  margin-top: 12px;
  font-weight: bold;
  color: #2d572c;
}

.verify-objectives-table {
  margin-top: 24px;
}

.verify-objectives-table h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.verify-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ccc;
}

.verify-table th,
.verify-table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.verify-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}


@media (max-width: 768px) {
  .filters {
    flex-direction: column;
  }

  .horizontal-list {
    flex-direction: column;
  }

  .autofill-actions {
    flex-direction: column;
  }
}

/* Title Styling Specific to User Account Report */
.page-user-accounts-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Overrides */
.user-accounts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.user-accounts-table th,
.user-accounts-table td {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.user-accounts-table th {
  background-color: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
}

.user-accounts-table td {
  background-color: #ffffff;
}

/* Status Styling */
.user-status-active {
  color: #10b981;
  font-weight: bold;
}

.user-status-inactive {
  color: #ef4444;
  font-weight: bold;
}

/* Role/Mentor badge styling */
.role-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  background-color: #f3f4f6;
  color: #1f2937;
}

.role-badge.mentor {
  background-color: #d1fae5;
  color: #065f46;
}

.role-badge.admin {
  background-color: #e0e7ff;
  color: #3730a3;
}

.role-badge.viewer {
  background-color: #fef3c7;
  color: #92400e;
}

.last-login {
  font-style: italic;
  color: #6b7280;
  font-size: 12px;
}

/* Responsive print handling */
@media print {
  .user-accounts-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }

  .user-status-active,
  .user-status-inactive {
    font-weight: normal;
  }
}

/* Title Styling Specific to Region Overview Report */
.page-region-overview-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Styling */
.region-overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.region-overview-table th,
.region-overview-table td {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.region-overview-table th {
  background-color: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
}

.region-overview-table td {
  background-color: #ffffff;
}

/* Optional badge styles if we later add roles/labels */
.role-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  background-color: #f3f4f6;
  color: #1f2937;
}

.role-badge.mentor {
  background-color: #d1fae5;
  color: #065f46;
}

.role-badge.admin {
  background-color: #e0e7ff;
  color: #3730a3;
}

.role-badge.viewer {
  background-color: #fef3c7;
  color: #92400e;
}

/* Optional last activity styling */
.last-activity {
  font-style: italic;
  color: #6b7280;
  font-size: 12px;
}

/* Centered text for counts */
.text-center {
  text-align: center;
}

/* Print support */
@media print {
  .region-overview-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }
}

/* Title Styling Specific to Persons Served Report */
.page-persons-served-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Styling */
.persons-served-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.persons-served-table th,
.persons-served-table td {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.persons-served-table th {
  background-color: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
}

.persons-served-table td {
  background-color: #ffffff;
}

/* Optional badge styles if needed */
.status-badge {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  background-color: #f3f4f6;
  color: #1f2937;
}

.status-badge.active {
  background-color: #d1fae5;
  color: #065f46;
}

.status-badge.inactive {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Optional last activity styling */
.last-activity {
  font-style: italic;
  color: #6b7280;
  font-size: 12px;
}

/* Centered text for counts */
.text-center {
  text-align: center;
}

/* Print support */
@media print {
  .persons-served-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }
}

/* Title Styling Specific to Goal Assigned Report */
.page-goal-assigned-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Styling */
.goal-assigned-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.goal-assigned-table th,
.goal-assigned-table td {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.goal-assigned-table th {
  background-color: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
}

.goal-assigned-table td {
  background-color: #ffffff;
}

/* Optional last activity styling */
.last-activity {
  font-style: italic;
  color: #6b7280;
  font-size: 12px;
}

/* Centered text */
.text-center {
  text-align: center;
}

/* Print support */
@media print {
  .goal-assigned-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }
}

/* Title Styling Specific to Objective Assignment Report */
.page-objective-assigned-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Styling */
.objective-assigned-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.objective-assigned-table th,
.objective-assigned-table td {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.objective-assigned-table th {
  background-color: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
}

.objective-assigned-table td {
  background-color: #ffffff;
}

/* Optional last activity styling */
.last-activity {
  font-style: italic;
  color: #6b7280;
  font-size: 12px;
}

/* Centered text */
.text-center {
  text-align: center;
}

/* Print support */
@media print {
  .objective-assigned-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }
}

/* Title Styling Specific to Login History Report */
.page-login-history-title {
  font-size: 20px;
  color: #1f2937;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Table Styling */
.login-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.login-history-table th,
.login-history-table td {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.login-history-table th {
  background-color: #e0f2fe;
  color: #0f172a;
  font-weight: 600;
}

.login-history-table td {
  background-color: #ffffff;
}

/* Status styling */
.status-success {
  color: #16a34a; /* green */
  font-weight: 600;
}

.status-failed,
.status-denied {
  color: #dc2626; /* red */
  font-weight: 600;
}

/* Centered fallback */
.text-center {
  text-align: center;
}

/* Print Support */
@media print {
  .login-history-table th {
    background-color: #f3f4f6 !important;
    -webkit-print-color-adjust: exact;
  }
}

.toast-message.toast-error,
.toast-message.toast-success,
.toast-message.toast-info,
.toast-message {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #28a745; /* fallback for untyped toasts */
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 18px;
  z-index: 99999;
  text-align: center;
  max-width: 90vw;
  width: -webkit-fit-content;
  width: fit-content;
  animation: fadeInOut 3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.toast-success { background-color: #28a745; }
.toast-error   { background-color: #dc3545; }
.toast-info    { background-color: #071d35; }
.toast-message.toast-success { background: #28a745; }
.toast-message.toast-error { background: #dc3545; }




@media (max-width: 480px) {
  .toast-message {
    font-size: 14px;
    padding: 10px 16px;
  }
}

@keyframes fadeInOut {
  0%   { opacity: 0; transform: translateY(-10px); }
  10%  { opacity: 1; transform: translateY(0); }
  90%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}


/*# sourceMappingURL=main.f6826bc4.css.map*/