/* Inline CSS extracted from all pages */
/* ==================================== */

/* Reduce hero section height to avoid huge empty space */
.section.hero {
  height: 55vh;
  min-height: 320px;
}
@media screen and (max-width: 767px) {
  .section.hero {
    height: 50vh;
    min-height: 280px;
  }
}

/* From register.php */
.password-strength-wrapper {
  margin-top: 4px;
  margin-bottom: 8px;
}
.password-strength-bar {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background-color: #e5e7eb;
  overflow: hidden;
  margin-top: 4px;
}
.password-strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  transition: width 0.25s ease, background-color 0.25s ease;
  background-color: #ef4444;
}
.password-strength-text {
  font-size: 11px;
  margin-top: 4px;
  color: #6b7280;
}
.password-match-text {
  font-size: 11px;
  margin-top: 4px;
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.field-error {
  font-size: 11px;
  margin-top: 0px;
  color: #dc2626;
  display: none;
}

.field-error.show {
  display: block;
}

.input.error {
  border-color: #dc2626 !important;
}

.phone-container {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.country-code-wrapper {
  flex: 0 0 auto;
  min-width: 120px;
}

.country-code-wrapper select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background-color: #fff;
  cursor: pointer;
  min-height: 48px;
  box-sizing: border-box;
}

.country-code-wrapper select.error {
  border-color: #dc2626 !important;
}

.phone-input-wrapper {
  flex: 1;
}

.phone-input-wrapper input {
  width: 100%;
}

.password-wrapper {
  position: relative;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 18px;
  width: 24px;
  height: 24px;
  z-index: 1;
}
.password-toggle:hover {
  color: #374151;
}
.password-wrapper .input {
  padding-right: 40px;
}

/* From register.php - Additional submit button styling */
#submit-btn[disabled] {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  background-color: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* From login.php */
.password-wrapper {
  position: relative;
}
.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 18px;
  width: 24px;
  height: 24px;
  z-index: 1;
}
.password-toggle:hover {
  color: #374151;
}
.password-wrapper .input {
  padding-right: 40px;
}

/* From js.php - DataTable styling */
/* Modern DataTable Styling for #datable_10 - High Specificity to Override DataTables */
.dataTables_wrapper #datable_10,
#datable_10 {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

.dataTables_wrapper #datable_10 thead,
#datable_10 thead {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
}

.dataTables_wrapper #datable_10 thead tr,
#datable_10 thead tr {
    background: transparent !important;
}

.dataTables_wrapper #datable_10 thead td,
.dataTables_wrapper #datable_10 thead th,
#datable_10 thead td,
#datable_10 thead th {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 16px 20px !important;
    border: none !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    white-space: nowrap !important;
    background: transparent !important;
}

.dataTables_wrapper #datable_10 thead td:first-child,
.dataTables_wrapper #datable_10 thead th:first-child,
#datable_10 thead td:first-child,
#datable_10 thead th:first-child {
    border-top-left-radius: 12px !important;
}

.dataTables_wrapper #datable_10 thead td:last-child,
.dataTables_wrapper #datable_10 thead th:last-child,
#datable_10 thead td:last-child,
#datable_10 thead th:last-child {
    border-top-right-radius: 12px !important;
}

.dataTables_wrapper #datable_10 tbody tr,
#datable_10 tbody tr {
    transition: all 0.2s ease !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fff !important;
}

.dataTables_wrapper #datable_10 tbody tr:hover,
#datable_10 tbody tr:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.06) 0%, rgba(29, 78, 216, 0.08) 100%) !important;
    transform: translateX(2px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
}

.dataTables_wrapper #datable_10 tbody tr:last-child,
#datable_10 tbody tr:last-child {
    border-bottom: none !important;
}

.dataTables_wrapper #datable_10 tbody td,
#datable_10 tbody td {
    padding: 16px 20px !important;
    font-size: 0.9rem !important;
    color: #495057 !important;
    vertical-align: middle !important;
    border: none !important;
    border-right: 1px solid #f0f0f0 !important;
    background: transparent !important;
}

.dataTables_wrapper #datable_10 tbody td:last-child,
#datable_10 tbody td:last-child {
    border-right: none !important;
}

.dataTables_wrapper #datable_10 tbody tr:last-child td:first-child,
#datable_10 tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px !important;
}

.dataTables_wrapper #datable_10 tbody tr:last-child td:last-child,
#datable_10 tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px !important;
}

/* Status badges in table */
.dataTables_wrapper #datable_10 tbody .badge,
#datable_10 tbody .badge {
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dataTables_wrapper #datable_10 thead td,
    .dataTables_wrapper #datable_10 thead th,
    #datable_10 thead td,
    #datable_10 thead th {
        padding: 12px 10px !important;
        font-size: 0.75rem !important;
    }
    
    .dataTables_wrapper #datable_10 tbody td,
    #datable_10 tbody td {
        padding: 12px 10px !important;
        font-size: 0.85rem !important;
    }
}

/* DataTable wrapper styling */
.dataTables_wrapper .table-responsive,
.table-responsive {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Loading state - styled in main.css */

/* From index.html - Video embed padding */
.video.w-video.w-embed,
.gallery-slide2-vid.w-video.w-embed {
  padding-top: 56.17021276595745%;
}

/* From login.php - Preloader and hidden checkbox */
.preloader-center {
  text-align: center;
}

.hidden-checkbox {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

/* From js.php - DataTable #datable_11 styling */
#datable_11.datatable-styled {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: none;
}

#datable_11.datatable-styled thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#datable_11.datatable-styled thead th,
#datable_11.datatable-styled thead td {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

#datable_11.datatable-styled tbody td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #495057;
  border: none;
  border-right: 1px solid #f0f0f0;
  background: transparent;
}

#datable_11.datatable-styled tbody td:last-child {
  border-right: none;
}

#datable_11.datatable-styled tbody tr {
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

#datable_11.datatable-styled tbody tr:last-child {
  border-bottom: none;
}

/* From js.php - DataTable #datable_10 styling (for dynamic application) */
#datable_10.datatable-styled {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: none;
}

#datable_10.datatable-styled thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#datable_10.datatable-styled thead th,
#datable_10.datatable-styled thead td {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 20px;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

#datable_10.datatable-styled tbody td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #495057;
  border: none;
  border-right: 1px solid #f0f0f0;
  background: transparent;
}

#datable_10.datatable-styled tbody td:last-child {
  border-right: none;
}

#datable_10.datatable-styled tbody tr {
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

#datable_10.datatable-styled tbody tr:last-child {
  border-bottom: none;
}

/* From js.php - Chat message styling */
.chat-message-right {
  text-align: right;
  padding: 2px;
}

.chat-timestamp {
  font-size: 9px;
}

/* From index.html - Video embed padding */
.video.w-video.w-embed,
.gallery-slide2-vid.w-video.w-embed {
  padding-top: 56.17021276595745%;
}
