/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* Import theme CSS */
@import url('/assets/css/theme.min.css');

/* True Astrotalk Admin Panel Custom CSS */

/* Override Bootstrap primary color with Facebook Blue */
:root {
  --primary-color: #1877f2;
  --primary-hover: #1565d8;
  --primary-light: #e3f2fd;
  --background: #ffffff;
  --foreground: #171717;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}

/* Button overrides */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

/* Link overrides */
a {
  color: var(--primary-color);
}

a:hover {
  color: var(--primary-hover);
}

/* Remove all focus outlines and box shadows */
input:focus,
textarea:focus,
select:focus,
button:focus,
.form-control:focus,
.form-control-file:focus,
.btn:focus,
.form-check-input:focus,
.custom-control-input:focus,
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Remove Bootstrap's default focus styles completely */
.form-control:focus {
  border-color: #ced4da !important;
  box-shadow: none !important;
}

.btn:focus,
.btn.focus {
  box-shadow: none !important;
}

/* Remove focus outline from custom file inputs */
.custom-file-input:focus ~ .custom-file-label {
  border-color: #ced4da !important;
  box-shadow: none !important;
}

/* Improved table styles */
.table-responsive {
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
}

.table thead th {
  border-top: none;
  border-bottom: 2px solid #dee2e6;
  background-color: #f8f9fa;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem;
}

.table td {
  padding: 0.75rem;
  vertical-align: middle;
}

/* Improved card styles */
.card {
  border: 1px solid #e3e6f0;
  border-radius: 0.375rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e3e6f0;
  font-weight: 600;
}

/* Improved button styles */
.btn {
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.375rem 0.75rem;
}

/* Improved badge styles */
.badge {
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

/* Navigation improvements - Fixed hover alignment issue */
.sidebar-dark .nav-item {
  margin-bottom: 10px;
}

.sidebar-dark .nav-link {
  transition: background-color 0.2s ease-in-out;
}

.sidebar-dark .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-dark .nav-link.active {
  background-color: var(--primary-color);
  color: white;
  border-radius: 0 25px 25px 0;
}

/* Ensure consistent icon width in sidebar navigation */
.sidebar-dark .nav-link i.fas {
  width: 1.25rem;
  text-align: center;
  margin-right: 0.5rem;
}

/* Page header improvements */
.page-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e3e6f0;
}

.pageheader-title {
  color: #5a5c69;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pageheader-text {
  color: #858796;
  margin-bottom: 1rem;
}

/* Improved modal styles */
.modal-content {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e3e6f0;
  border-radius: 0.5rem 0.5rem 0 0;
}

.modal-title {
  font-weight: 600;
  color: #5a5c69;
}

/* Form improvements */
.form-control {
  border-radius: 0.375rem;
  border: 1px solid #d1d3e2;
  transition: border-color 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(24, 119, 242, 0.25) !important;
}

/* Pagination improvements */
.pagination .page-link {
  border-radius: 0.375rem;
  margin: 0 0.125rem;
  border: 1px solid #d1d3e2;
  color: #5a5c69;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Loading states */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .table-responsive table,
  .table-responsive thead,
  .table-responsive tbody,
  .table-responsive th,
  .table-responsive td,
  .table-responsive tr {
    display: block;
  }
  
  .table-responsive thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  
  .table-responsive tr {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
  }
  
  .table-responsive td {
    border: none;
    position: relative;
    padding-left: 50% !important;
    text-align: left !important;
  }
  
  .table-responsive td:before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: bold;
  }
}

/* Avatar improvements */
.avatar-xs {
  width: 32px;
  height: 32px;
  font-size: 14px;
  line-height: 32px;
  text-align: center;
}

/* Checkbox improvements */
.table-checkbox {
  transform: scale(1.2);
  accent-color: var(--primary-color);
}

/* Status indicators */
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-indicator.online {
  background-color: #28a745;
}

.status-indicator.offline {
  background-color: #6c757d;
}

/* Notification improvements */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}

/* Dashboard card improvements */
.border-left-primary {
  border-left: 4px solid var(--primary-color) !important;
}

.border-left-success {
  border-left: 4px solid #28a745 !important;
}

.border-left-info {
  border-left: 4px solid #17a2b8 !important;
}

.border-left-warning {
  border-left: 4px solid #ffc107 !important;
}

.text-gray-800 {
  color: #5a5c69 !important;
}

.text-gray-300 {
  color: #dddfeb !important;
}

.text-xs {
  font-size: 0.75rem;
}

/* Card height consistency */
.h-100 {
  height: 100% !important;
}

/* Improved form switches */
.form-check.form-switch .form-check-input {
  width: 2rem;
  height: 1rem;
  background-color: #e9ecef;
  border: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280,0,0,.25%29'/%3e%3c/svg%3e");
  transition: all 0.2s ease-in-out;
}

.form-check.form-switch .form-check-input:checked {
  background-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255,255,255,1.0%29'/%3e%3c/svg%3e");
}

/* Enhanced table styles */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Quick action buttons */
.quick-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.quick-actions .btn {
  flex: 1 1;
  min-width: 120px;
}

@media (max-width: 576px) {
  .quick-actions {
    flex-direction: column;
  }
  
  .quick-actions .btn {
    width: 100%;
  }
}

/* Loading states */
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Enhanced breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #6c757d;
  font-weight: bold;
}

.breadcrumb-link {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}
input[type="file"]:focus {
  outline: none !important;
}

/* Remove focus from input groups */
.input-group .form-control:focus {
  z-index: 2;
  border-color: #ced4da !important;
  box-shadow: none !important;
}

/* Remove focus from buttons in input groups */
.input-group-append .btn:focus,
.input-group-prepend .btn:focus {
  box-shadow: none !important;
}

/* Remove focus from checkboxes and radio buttons */
.form-check-input:focus {
  box-shadow: none !important;
  border-color: #ced4da !important;
}

/* Form label styling */
.col-form-label,
label {
  font-weight: bold !important;
  color: #000000 !important;
  font-size: 14px;
}

/* Custom Select Styling */
.custom-select-wrapper {
  position: relative;
  display: block;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  width: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
}

.custom-select:focus {
  border-color: var(--primary-color) !important;
  outline: none !important;
  box-shadow: none !important;
}

.custom-select option {
  padding: 8px 12px;
  background: #ffffff;
  color: #495057;
  font-size: 14px;
}

/* Checkbox and Label Styling */
.form-check-input {
  cursor: pointer !important;
}

.form-check-label {
  cursor: pointer !important;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Make sure select fields have pointer cursor */
select {
  cursor: pointer !important;
}

/* Custom checkbox overrides */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: none !important;
}

/* Navigation and sidebar overrides */
.navbar-brand,
.sidebar .nav-link.active {
  color: var(--primary-color) !important;
}

/* Alert overrides */
.alert-primary {
  background-color: var(--primary-light);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Badge overrides */
.badge-primary {
  background-color: var(--primary-color);
}

/* Progress bar overrides */
.progress-bar {
  background-color: var(--primary-color);
}

/* Table overrides */
.table-primary {
  background-color: var(--primary-light);
}

/* Card header overrides for admin sections */
.card-header.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Custom login page styling */
.splash-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

.splash-description {
  display: block;
  margin-top: 10px;
  color: #6c757d;
  font-size: 14px;
}

.logo-img {
  max-height: 60px;
  width: auto;
}

/* Footer link styling */
.footer-link {
  color: var(--primary-color);
  text-decoration: none;
  padding: 15px;
  display: block;
}

.footer-link:hover {
  color: var(--primary-hover);
  text-decoration: none;
}

.card-footer-item {
  width: 50%;
}

.dashboard-wrapper .table td,
.dashboard-wrapper .table th {
  vertical-align: middle;
}

/* Table checkbox styling */
.table-checkbox {
  cursor: pointer !important;
  transform: scale(1.1);
  margin: 0;
}

.table-checkbox:hover {
  transform: scale(1.2);
}

/* Session table column styling */
.session-table th,
.session-table td {
  white-space: nowrap;
  vertical-align: middle;
}

/* Media Library Custom Styles */
.media-actions-cell {
  white-space: nowrap;
}

.media-select-btn {
  width: 70px;
  margin-right: 4px;
}

.media-delete-btn {
  float: right;
}

.modal-footer-buttons .btn:not(:last-child) {
  margin-right: 8px;
}

/* Upload button styling - ensure it matches other primary buttons */
label.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  cursor: pointer;
  font-weight: normal !important;
}

label.btn-primary:hover {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  color: #ffffff !important;
  font-weight: normal !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .splash-container {
    padding: 10px;
  }

  .card-footer-item {
    width: 100%;
    border-right: none !important;
  }
}

/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/styles/sweetalert-custom.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
/* Custom SweetAlert2 styles for TrueAstroTalk Admin Panel */

/* Custom popup styling to match admin theme */
.swal-popup-custom {
  border-radius: 10px !important;
  box-shadow: 0 10px 40px rgba(24, 119, 242, 0.1) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
}

/* Custom title styling */
.swal-title-custom {
  color: #2c3e50 !important;
  font-weight: 600 !important;
  font-size: 1.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Custom content styling */
.swal-content-custom {
  color: #6c757d !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

/* Custom confirm button styling */
.swal2-confirm {
  background-color: #dc3545 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  transition: all 0.2s ease !important;
}

.swal2-confirm:hover {
  background-color: #c82333 !important;
  transform: translateY(-1px) !important;
}

/* Custom cancel button styling */
.swal2-cancel {
  background-color: #1877F2 !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.5rem 1.5rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  transition: all 0.2s ease !important;
  margin-right: 0.5rem !important;
}

.swal2-cancel:hover {
  background-color: #166fe5 !important;
  transform: translateY(-1px) !important;
}

/* Success button styling */
.swal2-popup .swal2-styled.swal2-confirm[style*="background-color: rgb(40, 167, 69)"] {
  background-color: #28a745 !important;
}

.swal2-popup .swal2-styled.swal2-confirm[style*="background-color: rgb(40, 167, 69)"]:hover {
  background-color: #218838 !important;
}

/* Info button styling */
.swal2-popup .swal2-styled.swal2-confirm[style*="background-color: rgb(23, 162, 184)"] {
  background-color: #17a2b8 !important;
}

.swal2-popup .swal2-styled.swal2-confirm[style*="background-color: rgb(23, 162, 184)"]:hover {
  background-color: #138496 !important;
}

/* Custom icon styling */
.swal2-icon.swal2-warning {
  border-color: #ffc107 !important;
  color: #ffc107 !important;
}

.swal2-icon.swal2-success {
  border-color: #28a745 !important;
}

.swal2-icon.swal2-error {
  border-color: #dc3545 !important;
}

.swal2-icon.swal2-info {
  border-color: #17a2b8 !important;
}

/* Loading spinner customization */
.swal2-loader {
  border-color: #1877F2 transparent #1877F2 transparent !important;
}

/* Animation improvements */
.swal2-popup {
  animation-duration: 0.3s !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .swal-popup-custom {
    margin: 1rem !important;
    width: calc(100% - 2rem) !important;
  }
  
  .swal-title-custom {
    font-size: 1.25rem !important;
  }
  
  .swal2-confirm,
  .swal2-cancel {
    padding: 0.75rem 1rem !important;
    font-size: 0.85rem !important;
  }
}

/* Dark mode support (if needed later) */
@media (prefers-color-scheme: dark) {
  .swal-popup-custom {
    background-color: #2d3748 !important;
    color: #e2e8f0 !important;
  }
  
  .swal-title-custom {
    color: #f7fafc !important;
  }
  
  .swal-content-custom {
    color: #cbd5e0 !important;
  }
}
