:root {
  --indraq-dark: #2D4256;
  --indraq-orange: #FFA785;
  --indraq-pink: #FF7D8A;
  --font-sans: 'Inter', sans-serif;
}

/* Body styles */
.body-styles {
  font-family: var(--font-sans);
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

/* Main wrapper styles for layout */
.main-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  flex-wrap: wrap;
}

/* Main container styles */
.container {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 28rem;
  /* Keep max-width for the auth container */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Specific styles for the logs container to allow more width */
.logs-container {
  max-width: 1000px;
  /* Allow logs table to take more width */
  width: 100%;
  /* Ensure it's responsive */
}

/* Tab buttons container styles */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 20px;
}

/* Individual tab button styles */
.tab-button {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #4b5563;
  background-color: #e5e7eb;
  transition: all 0.3s ease-in-out;
  border: none;
  cursor: pointer;
}

/* Specific border-radius for first tab button */
.tab-button:first-child {
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
}

/* Specific border-radius for last tab button */
.tab-button:last-child {
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

/* Hover state for tab buttons */
.tab-button:hover {
  background-color: #d1d5db;
}

/* Active state for tab buttons */
.tab-button.active {
  background-color: var(--indraq-dark);
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.verify-signup{
  width: 100%;
}

/* Logo container styles */
.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Logo image styles */
.logo-img {
  width: 14rem;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: auto;
}

/* Section heading styles */
.section-heading {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--indraq-dark);
  margin-bottom: 2rem;
  margin-top: -20px;
}

/* Form layout styles */
.form-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

/* Base styles for all input fields and select dropdowns */
.input-field {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
  margin-top: 15px
}

/* Focus state for input fields and select dropdowns */
.input-field:focus {
  outline: none;
  border-color: var(--indraq-orange);
  box-shadow: 0 0 0 2px rgba(255, 167, 133, 0.5);
}

/* Base styles for all buttons */
.base-button {
  /* width: 100%; */
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  transform: translateY(0);
  cursor: pointer;
  border: none;
  margin-top: 10px
}

/* Hover state for all buttons */
.base-button:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  transform: translateY(-0.125rem);
}

/* Gradient button specific styles */
.gradient-button {
  background: linear-gradient(to right, var(--indraq-orange), var(--indraq-pink));
}

/* Dark button specific styles */
.dark-button {
  background-color: var(--indraq-dark);
}

/* OTP section layout styles */
.otp-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* SweetAlert2 custom styling for loading spinner */
.swal2-loading-popup {
  background-color: #ffffff !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure the message element is hidden as SweetAlert2 handles all user feedback */
#message {
  display: none;
}

/* Table specific styles for the logs section */
.logs-table {
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
  /* Removes space between table cells */
}

.logs-table th,
.logs-table td {
  padding: 12px 15px; /* Increased horizontal padding */
  border-bottom: 1px solid #e5e7eb;
  border-left: none; /* Remove vertical borders for a cleaner look */
  border: 1px solid #dee2e6; 
  text-align: center; /* Center align text in all cells by default */
  vertical-align: middle;
  white-space: nowrap; /* Prevent text from wrapping in most columns */
}

.logs-table thead {
  background: var(--indraq-dark);
  color: white;
}

.logs-table th:nth-child(9),
.logs-table td:nth-child(9) {
  text-align: left; /* Left-align the details column for readability */
  white-space: normal; /* Allow text in the details column to wrap */
}


.logs-table th:nth-child(3),
.logs-table td:nth-child(3),
.logs-table th:nth-child(4),
.logs-table td:nth-child(4) {
  text-align: left;
}


.logs-table th:nth-child(1) { min-width: 160px; } /* Time */
.logs-table th:nth-child(2) { min-width: 120px; } /* App */
.logs-table th:nth-child(3) { min-width: 150px; } /* Name */
.logs-table th:nth-child(4) { min-width: 200px; } /* Email */
.logs-table th:nth-child(5) { min-width: 140px; } /* Phone */
.logs-table th:nth-child(6) { min-width: 140px; } /* Type */
.logs-table th:nth-child(7) { min-width: 100px; } /* Type 2 */
.logs-table th:nth-child(8) { min-width: 100px; } /* Status */
.logs-table th:nth-child(9) { min-width: 300px; } /* Details */

.logs-table tbody {
  text-align: inherit;
}

.logs-table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Styling for success and error status in the table */
.status-success {
  color: green;
}

.status-error {
  color: red;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: #f4faff;
  border-radius: 10px;
  justify-content: center;
}

.filter-bar .input-field {
  min-width: 180px;
  max-width: 220px;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.filter-bar .base-button {
  padding: 0.5rem 1.25rem;
  font-size: 14px;
  height: 40px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.filter-bar .dark-button {
  background-color: #2d4256;
  color: white;
  border-radius: 6px;
}

.filter-bar .dark-button:hover {
  background-color: #1f2e3d;
}


.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.pagination-controls button {
  padding: 6px 12px;
  font-weight: bold;
  border: none;
  background-color: #2c3e50;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.pagination-controls button:disabled {
  background-color: #888;
  cursor: not-allowed;
}

.logs-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* === Main Container === */
.add-app {
  padding: 6px 12px;
  font-weight: bold;
  border: none;
  background-color: #2c3e50;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}


.add-app-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 2rem auto;
}

/* === Header with Show Logs Button === */
.add-app-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-heading {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
      position: relative;
    top: -10px;
}

/* === Step Indicator === */
.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

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

.line {
  height: 2px;
  width: 40px;
  background-color: #d1d5db;
}

/* === Form & Inputs === */
.form-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-field {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border 0.3s, background-color 0.3s;
}

.input-field:focus {
  border-color: #0284c7;
  outline: none;
  background-color: #f0f9ff;
}

.input-field[type="file"] {
  padding: 0.5rem;
}

/* === Buttons === */
.base-button {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gradient-button {
  background: linear-gradient(to right, #fb7185, #f97316);
  color: white;
}

.dark-button {
  background-color: #334155;
  color: white;
}

.base-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button-group {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* === Step Form Transitions === */
.step-form {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
  display: none;
}

.step-form.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* === Error Highlight === */
.error-field {
  border-color: red;
  background-color: #ffe4e6;
}

/* === Responsive === */
@media (max-width: 480px) {
  .add-app-container {
    padding: 1.25rem;
  }

  .step-indicator {
    gap: 0.5rem;
  }

  .line {
    width: 30px;
  }

  .step {
    width: 30px;
    height: 30px;
  }

  .button-group {
    flex-direction: column;
  }
}



.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.template-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.11);
  padding: 1.5rem 1.2rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
  transition: box-shadow 0.2s;
}

.template-card:hover {
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.16);
}

.template-title {
  font-weight: 600;
  color: #2D4256;
  font-size: 1.1rem;
}

.template-preview {
  color: #555;
  font-size: 0.93rem;
  white-space: pre-wrap;
  min-height: 64px;
  max-height: 64px;
  overflow: hidden;
  line-height: 1.4;
}

.edit-template-btn {
  align-self: flex-end;
  padding: 0.4rem 1.1rem;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  border: none;
  background: linear-gradient(90deg, #ff7d8a 0%, #ffa785 100%);
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}

.edit-template-btn:hover {
  background: linear-gradient(90deg, #ffa785 0%, #ff7d8a 100%);
}

.modal-overlay {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 40, 60, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  min-width: 360px;
  max-width: 90vw;
  box-shadow: 0 20px 60px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}



/* Modal XL container */
.modal-xl {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 64px rgba(40, 48, 80, 0.18);
  max-width: 760px;
  min-width: 370px;
  width: 95vw;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.1rem 2rem 0.7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7fafd;
  border-bottom: 1px solid #eef1f6;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #29415e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width:80%;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #b0b8c5;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 1.5rem 2rem 0.5rem 2rem;
  flex: 1;
}

.form-row {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
  width: 100%;
}

.desc-box {
  background: #e9f1ff;
  border-radius: 8px;
  padding: 0.95rem 1rem 0.8rem 1.2rem;
  color: #18336d;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.base-button.blue-btn {
  background: #2765e7;
  color: #fff;
  border-radius: 6px;
  padding: 0.38rem 1.18rem;
  margin-top: 0.5rem;
  font-size: 1.02em;
  margin-left: 0;
}

.base-button.add-var-btn {
  margin-top: 0.6rem;
  background: #f2faf2;
  color: #227a39;
  border: 1px solid #abe3bc;
  border-radius: 1.1em;
  padding: 0.27em 1.15em;
  font-size: 0.97em;
}

.variable-chips {
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.var-chip {
  display: inline-flex;
  align-items: center;
  background: #eaf9ef;
  color: #217944;
  padding: 0.28em 0.93em 0.28em 0.85em;
  border-radius: 1.3em;
  font-size: 0.98em;
  border: 1px solid #d8f3e1;
  cursor: pointer;
  transition: background 0.2s;
}

.var-chip .chip-remove {
  margin-left: 0.5em;
  font-size: 1.09em;
  color: #e6665e;
  cursor: pointer;
}

.modal-footer {
  background: #f8fafc;
  border-top: 1px solid #eef1f6;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 1.1rem;
}



/* --- Styles for the enhanced template editor --- */

/* Make the modal wider to accommodate the preview */
.modal-xl {
  max-width: 90vw;
  width: 1400px;
}

/* FIX: Add scrolling to modal body */
.modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 140px);
  padding: 20px 25px;
}

.editor-preview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.editor-pane,
.preview-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.CodeMirror {
  border: 1px solid #ccc;
  height: 600px !important;
  font-size: 14px;
  border-radius: 5px;
}

.preview-container {
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f7f7f7;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 350px;
}

.preview-toolbar {
  padding: 8px;
  background-color: #e9ecef;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: center;
  gap: 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.device-toggle {
  padding: 5px 15px;
  border: 1px solid #aaa;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.device-toggle:hover {
  border-color: #007bff;
}

.device-toggle.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

#previewFrame {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #fff;
  transition: width 0.3s ease-in-out;
}

/* Styles for the restored Available Variables section */
.variable-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.var-chip {
  background-color: #e0f2f1;
  color: #00796b;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 0.9em;
  font-family: monospace;
  cursor: pointer;
  border: 1px solid #b2dfdb;
  transition: background-color 0.2s;
  user-select: none;
}

.var-chip:hover {
  background-color: #b2dfdb;
}

.chip-remove {
  margin-left: 8px;
  font-weight: bold;
  cursor: pointer;
  color: #004d40;
}

.add-var-btn {
  padding: 6px 12px;
  font-size: 0.9em;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
}


/* --- Styles for View Toggling and All Apps View --- */

.management-view {
  width: 100%;
}

.logs-heading .view-toggle-buttons,
#allAppsSection .view-toggle-buttons {
  display: flex;
  gap: 10px;
      position: relative;
    top: -16px;
}

.view-toggle-btn {
  padding: 10px 20px;
  border: 1px solid #ccc;
  background-color: #f8f9fa;
  color: #333;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s, border-color 0.2s;
}

.view-toggle-btn:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.all-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding-top: 20px;
}

.app-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-card-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #f8f9fa;
  border: 2px solid #eee;
  margin-bottom: 15px;
}

.app-card-name {
  font-size: 1.25em;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.app-card-email {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 20px;
  word-break: break-all;
}

.app-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.app-card-actions .base-button {
  padding: 8px 16px;
  font-size: 0.9em;
  border-radius: 5px;
}

.edit-btn {
  background: #007bff;
  color: white;
}

.edit-btn:hover {
  background: #0056b3;
}

.delete-btn {
  background: #dc3545;
  color: white;
}

.delete-btn:hover {
  background: #c82333;
}

/* New styles for attractive preview */
.preview-pane {
  background-color: #f9fafb;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.preview-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.preview-toolbar {
  display: flex;
  justify-content: center;
  padding: 8px;
  background-color: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.device-toggle {
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  padding: 4px 12px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
  transition: background-color 0.2s, color 0.2s;
}

.device-toggle:first-of-type {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  border-right-width: 0;
}

.device-toggle:last-of-type {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.device-toggle.active {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
  z-index: 1;
}

.device-toggle:not(.active):hover {
  background-color: #f0f2f5;
}

#previewFrame {
  width: 100%;
  height: 100%;
  border: none;
  flex-grow: 1;
  transition: width 0.3s ease-in-out;
  margin: 0 auto;
}


.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.editor-pane {
  height: 65vh;
  min-height: 400px;
  max-height: 800px;
  display: flex;
  flex-direction: column;
}

#htmlEditor {
  flex-grow: 1;
  border-radius: 6px;
  overflow: hidden;
}

.CodeMirror {
  height: 100%;
}

.preview-pane-modal {
  background-color: #f0f2f5;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#previewFrameModal {
  width: 100%;
  max-width: 800px;
  height: 65vh;
  border: 1px solid #ccc;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.preview-toolbar-modal {
  margin-bottom: 16px;
  background-color: #e9ecef;
  border-radius: 20px;
  padding: 4px;
  display: inline-flex;
}

.device-toggle-modal {
  padding: 6px 16px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  border-radius: 16px;
  font-weight: 500;
  color: #495057;
  transition: all 0.2s ease-in-out;
}

.device-toggle-modal.active {
  background-color: #ffffff;
  color: #007bff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.load-default-btn{
  display: flex;
  justify-content: space-between;
  background-color: #e9f1ff;;
}

.load-btn{
  width:201px;
  height: 45px;
  margin-top: 17px !important;
  margin-right: 30px;
}


.show-preview-btn{
  display: flex;
  float: right;
}


#stepDescription{
  margin:50px 0 
}



/* In style/signup-login.css */

/* === NEW STYLES FOR UI IMPROVEMENTS === */

/* 1. Form Row for side-by-side inputs */
.form-row {
  display: flex;
  flex-direction: row;
  gap: 1.5rem; /* The same gap as your form-layout */
}

/* Make sure inputs inside the row take up equal space */
.form-row .input-field {
  width: 100%;
  margin-top: 0; /* Remove top margin for inputs inside a row */
}

/* 2. Scrollable Logs Table */
.logs-table-wrapper {
  overflow: auto; /* This enables both vertical and horizontal scrolling */
  max-height: 60vh; /* Set a max height, e.g., 60% of the viewport height */
  border: 1px solid #dee2e6; /* Add a subtle border around the scrollable area */
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.logs-table {
  width: 100%;
  min-width: 1200px; /* Set a min-width to ensure horizontal scroll */
  border-collapse: collapse; /* This makes the borders clean and single-lined */
  margin-top: 0;
  border: none; /* Override any border from other classes */
}

/* Make table headers sticky so they stay visible when scrolling vertically */
.logs-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: var(--indraq-dark); /* Ensure it has a solid background */
}

/* 3. General Polish and Cleanup */


.auth-view {
  width: 100%; /* Ensure auth views take full width of their container */
}

/* Slightly reduce placeholder text color to be less intrusive */
::placeholder {
  color: #a1a1aa;
}

/* Add a subtle hover effect to table rows */
.logs-table tbody tr:hover {
  background-color: #f8f9fa;
}

/* Fix Status text alignment and style */
.logs-table td {
  padding: 12px 10px;
  vertical-align: middle;
}

.logs-table .status-success,
.logs-table .status-error {
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  display: inline-block;
  min-width: 60px;
}

.logs-table .status-success {
  background-color: #d1fae5;
  color: #065f46;
}

.logs-table .status-error {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Since the wrapper now has a border, we can remove the border from the table itself */
.logs-table.input-field {
  border: none;
}


/* In style/signup-login.css */

.logs-heading .logs-title-wrapper {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.total-logs-count {
  font-size: 1rem;
  font-weight: 500;
  color: #ff2222; 
  margin-top: 25px;
  position: relative;
  left:200px
}

/* Remove the "Apply Filters" button style as it's no longer needed */
.filter-bar .dark-button {
  display: none; 
}


/* === LOGIN STYLES === */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  

}

.login-card {
  display: flex;
  /* width: 1200px;
  height: 600px; */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  font-family: sans-serif;
 
}

.login-left {
  background-color: #f0f0f0;
  color: #23465D !important;
  padding: 40px;
  width: 50%;
  text-align: center;
  font-weight: 900 !important;
}

.login-left h1 {
  font-weight: 900;
}

.login-left .login-logo {
  width: 300px;
  margin-bottom: 20px;
}

.login-left h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.login-left p {
  font-size: 14px;
  color: #334155;
}

.login-right {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-right h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #23465D;
  font-weight: 800;
}

.login-right p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #64748b;
}

.login-right input {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}

.login-right button {
  padding: 12px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

.login-right button:hover {
  background-color: #2563eb;
}

.office-boy{
  width: 500px;
  margin-top: 50px;;
}

@media screen and (max-width: 878px) {
  .login-card {
    flex-direction: column;
    align-items: center;
  }
.login-left {
  width:100%
}
.login-right {
  width: auto;
}
  
  
}

@media screen and (max-width: 605px) { 
.login-card {
  width: 100vw;
}

.office-boy{
  width: 100vw;
  margin-top: 50px;;
}


}