:root {
  --thistle: #E8F1F5;
  --orange-peel: #43029e;
  --black: #333333;
  --savoy-blue: #35acfb;
  --jonquil: #FFD700;
  --white: #ffffff;
  --light-gray: #e7e7e7;
  --medium-gray: #E0E0E0;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-gray);
  color: var(--black);
}

/* Card styles */
.card {
  border: none;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  background-color: var(--white);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-header {
  background-color: var(--thistle);
  color: var(--white);
  border-bottom: none;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding: 10px 14px;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0;
  font-size: 0.875rem;
}

.card-body {
  padding: 14px;
}

/* Stat card styles */
.stat-card {
  border-radius: 6px;
  overflow: hidden;
}

.stat-card .card-body {
  padding: 14px;
}

.stat-card .icon-circle {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.2);
}

/* Button styles */
.btn {
  border-radius: 4px;
  padding: 6px 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  transition: all 0.3s ease;
  font-size: 0.813rem;
  height: 32px;
}

.btn-action {
  padding: 8px 16px;
}

.btn-primary {
  background-color: var(--savoy-blue);
  border-color: var(--savoy-blue);
}

.btn-primary:hover {
  background-color: var(--orange-peel);
  border-color: var(--orange-peel);
}

/* Table styles */
.table {
  color: var(--black);
}

.table thead th {
  background-color: var(--savoy-blue);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: none;
}

.table-hover tbody tr:hover {
  background-color: var(--thistle);
}

/* Badge styles */
.badge {
  padding: 0.5em 1em;
  font-weight: 500;
  border-radius: 30px;
}

/* Chart styles */
.chart-area {
  height: 300px;
}

/* Form styles */
.form-control {
  border-radius: 4px;
  padding: 6px 8px;
  height: 32px;
  font-size: 0.813rem;
}

.form-control:focus {
  border-color: var(--savoy-blue);
  box-shadow: 0 0 0 0.2rem rgba(78, 98, 178, 0.25);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--savoy-blue);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange-peel);
}

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

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-body {
    padding: 20px;
  }
  
  .btn-action {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Property-specific styles */
.property-card {
  border-left: 5px solid var(--savoy-blue);
}

.property-status {
  font-weight: 600;
}

.property-status.accepted {
  color: #28a745;
}

.property-status.pending {
  color: var(--orange-peel);
}

.property-status.rejected {
  color: #dc3545;
}

/* Claim-specific styles */
.claim-card {
  border-left: 5px solid var(--orange-peel);
}

.claim-amount {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--savoy-blue);
}

/* Dashboard-specific styles */
.dashboard-summary {
  background-color: var(--thistle);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.dashboard-summary h3 {
  color: var(--savoy-blue);
  font-weight: 600;
}

/* Enhanced tooltip */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background-color: var(--savoy-blue);
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

[data-tooltip]:hover:before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 5px);
}

/* Main table styles */
.moz-view-table th { 
  border-right: 1px solid var(--orange-peel);
  background-color: var(--savoy-blue);
  color: var(--white);
}
.moz-view-table tr:nth-child(even) { background-color: var(--thistle); }

/* Modal styles */
.modal.show { 
  display: block!important; 
  opacity: 1; 
}

/* Empty state styles */
.moz_empty_state { 
  width: 440px; 
  height: auto; 
  color: var(--savoy-blue);
}

/* Filter container styles */
.filters-container form.form-inline div {
  padding: 14px;
  display: flex;
  background-color: var(--thistle);
  border-radius: 5px;
}

.filters-container form.form-inline div label {
  margin-right: 14px;
  color: var(--savoy-blue);
}

.filters-container form button {
  margin-right: 12px;
}

/* Link styles */
a {
  text-decoration: none;
  color: var(--savoy-blue);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--orange-peel);
}

/* Button styles */
.btn-primary {
  color: var(--white);
  background-color: var(--savoy-blue);
  border-color: var(--savoy-blue);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--orange-peel);
  border-color: var(--orange-peel);
}

.btn-danger, .btn-primary, .btn-info, .btn-success, .btn-warning {
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

button.swal2-confirm.swal2-styled {
  background-color: var(--orange-peel);
}

button.swal2-confirm.swal2-styled, button.swal2-cancel.swal2-styled {
  border-radius: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Page styles */
.login-page, .register-page {
  background-color: var(--savoy-blue);
}

/* Heading styles */
h1, h2.section, .small-box, .small-box .important {
  color: var(--savoy-blue);
  font-weight: bold;
}

h1 { font-size: 30px; }
h2.section { font-size: 20px; }
.small-box { font-size: 16px; }
.small-box .important { color: var(--orange-peel); }

/* Card styles */
.card-primary.card-outline {
  border-top: 3px solid var(--savoy-blue);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Button outline styles */
.btn-outline-primary {
  color: var(--savoy-blue);
  border-color: var(--savoy-blue);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  color: var(--white);
  background-color: var(--savoy-blue);
  border-color: var(--savoy-blue);
}

/* Small box styles */
.small-box.bg-default {
  background-color: var(--thistle);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.small-box>.small-box-footer {
  color: var(--savoy-blue);
  background-color: rgba(255,255,255,0.7);
}

/* Table styles */
table thead tr {
  background-color: var(--savoy-blue);
  color: var(--white);
}

/* Sidebar styles */
.sidebar {
  background-color: var(--thistle);
}
.sidebar a i, .sidebar a:hover p { color: var(--savoy-blue); }
.sidebar a p { color: var(--black); }

/* Main table header styles */
table.main-table thead tr {
  background-color: var(--savoy-blue) !important;
}

/* Main color styles */
.moz-main-color {
  color: var(--savoy-blue) !important;
}

/* Error message styles */
.error-message {
  color: #f83b3b;
  font-size: 15px;
}

/* Display table styles */
.moz-display-table, .moz-inline-display-table {
  display: table !important;
}

.moz-inline-display-table {
  display: inline-table !important;
}

/* Overflow styles */
.moz-overflow-x-scroll, .moz-overflow-x-auto {
  overflow-x: auto!important;
}

/* Scrollable table styles */
.scrollable-table {
  width: 100% !important;
}

/* DataTables styles */
.dataTables_filter, .dataTables_info {
  position: sticky;
  left: 0;
  background-color: var(--white);
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Button styles */
div.dt-buttons .dt-button {
  background: var(--savoy-blue) !important;
  border-color: var(--savoy-blue) !important;
  color: var(--white);
  transition: all 0.3s ease;
}

div.dt-buttons .dt-button:hover {
  background: var(--orange-peel) !important;
  border-color: var(--orange-peel) !important;
}

/* Page link styles */
.page-item.active .page-link {
  z-index: 3;
  color: var(--white);
  background-color: var(--orange-peel);
  border-color: var(--orange-peel);
}

/* Tab styles */
.nav-link:hover, .nav-tabs .nav-link.active {
  color: var(--white);
  background-color: var(--savoy-blue);
}

.nav-pills .nav-link:not(.active):hover {
  color: var(--white);
  background-color: var(--orange-peel);
}

/* App logo styles */
.brand-link .brand-image {
  max-height: 88px;
}

.brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}

th a {
  color: var(--white);
}

.nav-link {
  color: var(--savoy-blue);
}

.input.checkbox input {
  margin-right: 5px;
}

#selectedGalleryVideos, #selectedGalleryPhotos {
  margin-top: 10px;
}

/* Additional enhancements */
.card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-control:focus {
  border-color: var(--savoy-blue);
  box-shadow: 0 0 0 0.2rem rgba(78, 98, 178, 0.25);
}

/* Enhance form elements */
.form-control {
  border-radius: 4px;
  border: 1px solid var(--thistle);
  transition: all 0.3s ease;
  height: 32px;
  padding: 6px 8px;
  font-size: 0.813rem;
}

.form-control:hover {
  border-color: var(--orange-peel);
}

/* Enhance buttons */
.btn {
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Enhance tables */
.table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: visible !important;
}

.table th {
  background-color: var(--thistle);
  color: var(--black);
  text-transform: uppercase;
  font-size: 14px;
}

.table td {
  vertical-align: middle;
}

/* Add hover effect to table rows */
.table tbody tr:hover {
  background-color: rgba(195, 182, 215, 0.3);
}

/* Enhance card headers */
.view.card .card-header {
  background-color: var(--savoy-blue);
  color: var(--white);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Add subtle gradient to backgrounds */
.login-page, .register-page {
  background: linear-gradient(135deg, var(--savoy-blue), var(--thistle));
}

/* Enhance alerts */
.alert {
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-left: 5px solid #28a745;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
}

/* Enhance modals */
.modal-content {
  border-radius: 15px;
  overflow: hidden;
}

.modal-header {
  background-color: var(--savoy-blue);
  color: var(--white);
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

/* Add subtle animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Enhance checkboxes and radio buttons */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--savoy-blue);
  border-color: var(--savoy-blue);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--savoy-blue);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange-peel);
}

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

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-body {
    padding: 20px;
  }
  
  .btn-action {
    width: 100%;
    margin-bottom: 10px;
  }
}
/* Property-specific styles */
.property-card {
  border-left: 5px solid var(--savoy-blue);
}

.property-status {
  font-weight: 600;
}

.property-status.accepted {
  color: #28a745;
}

.property-status.pending {
  color: var(--orange-peel);
}

.property-status.rejected {
  color: #dc3545;
}

/* Claim-specific styles */
.claim-card {
  border-left: 5px solid var(--orange-peel);
}

.claim-amount {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--savoy-blue);
}

/* Dashboard-specific styles */
.dashboard-summary {
  background-color: var(--thistle);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
}

.dashboard-summary h3 {
  color: var(--savoy-blue);
  font-weight: 600;
}

/* Enhanced tooltip */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background-color: var(--savoy-blue);
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

[data-tooltip]:hover:before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 5px);
}


.table.table-hover
{
  border-radius: 0px;
}

.card-body {
  padding: 20px 40px;
}

.card-title
{
  margin-bottom: 0px;
}

select#limit{
  border-radius: 15px;
  margin: 0 3px;
  padding: 5px 10px;
}


.btn {
  border-radius: 4px;
}

/* Breadcrumb styles */
.col-sm-6 ul.float-sm-right {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: var(--thistle);
  border-radius: 0.25rem;
  overflow: hidden;
  border-radius: 15px;
}

.col-sm-6 ul.float-sm-right li {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  position: relative;
}

.col-sm-6 ul.float-sm-right li:not(:last-child)::after {
  content: "/";
  color: var(--savoy-blue);
  margin-left: 1rem;
}

.col-sm-6 ul.float-sm-right li a,
.col-sm-6 ul.float-sm-right li span {
  color: var(--savoy-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.col-sm-6 ul.float-sm-right li a:hover {
  color: var(--orange-peel);
  text-decoration: underline;
}

.col-sm-6 ul.float-sm-right li:last-child span {
  color: var(--orange-peel);
  font-weight: bold;
}

/* Add some animation */
@keyframes fadeInRight {
  from {
      opacity: 0;
      transform: translateX(-20px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

.col-sm-6 ul.float-sm-right li {
  animation: fadeInRight 0.5s ease-out forwards;
  opacity: 0;
}

/* .col-sm-6 ul.float-sm-right li:nth-child(1) { animation-delay: 0.1s; }
.col-sm-6 ul.float-sm-right li:nth-child(2) { animation-delay: 0.2s; }
.col-sm-6 ul.float-sm-right li:nth-child(3) { animation-delay: 0.3s; } */
/* Add more if needed for deeper breadcrumbs */



/* Enhanced form styles */
/* Enhanced form styles */
.card-primary.card-outline {
  border-top: 3px solid var(--savoy-blue);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  background-color: #ffffff;
}

.card-body {
  padding: 25px;
}

/* Form group styling */
.card-body > div {
  margin-bottom: 1.5rem;
}

/* Label styling */
.card-body label {
  display: block;
  font-weight: 600;
  color: var(--savoy-blue);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* Input styling */
.card-body input[type="text"],
.card-body input[type="email"],
.card-body input[type="password"],
.card-body input[type="number"],
.card-body input[type="date"],
.card-body input[type="datetime-local"],
.card-body select,
.card-body textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background-color: #ffffff;
  color: #333;
}

.card-body input:focus,
.card-body select:focus,
.card-body textarea:focus {
  border-color: var(--savoy-blue);
  box-shadow: 0 0 0 3px rgba(78, 98, 178, 0.1);
  outline: none;
}

/* Select styling */
.card-body select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234E62B2' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

/* Checkbox styling */
.card-body input[type="checkbox"] {
  margin-right: 6px;
  transform: scale(1.1);
}

/* Card footer styling */
.card-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Button styling */
.btn {
  padding: 6px 12px;
  font-size: 0.813rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  height: 32px;
}

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

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-primary {
  background-color: var(--savoy-blue);
  border-color: var(--savoy-blue);
  color: white;
}

.btn-primary:hover {
  background-color: var(--orange-peel);
  border-color: var(--orange-peel);
}

.btn-default {
  color: #495057;
  background-color: #f8f9fa;
  border-color: #ced4da;
}

.btn-default:hover {
  color: #495057;
  background-color: #e2e6ea;
  border-color: #bbbfc3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-body {
    padding: 20px;
  }
  
  .card-footer {
    padding: 15px 20px;
    flex-direction: column;
  }
  
  .card-footer > div {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .card-footer > div:last-child {
    margin-bottom: 0;
  }
}

/* Animation */
.card {
  animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Error message styling */
.error-message {
  color: #dc3545;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
}

/* Placeholder styling */
::placeholder {
  color: #a0aec0;
  opacity: 1;
}

/* Focus within effect for form groups */
.card-body > div:focus-within label {
  color: var(--orange-peel);
}






table.table.table-hover { border-radius: 10px; }

.btn.btn-info{ color: white; }
 
.card.card-primary.card-outline th {
  color: var(--black);

}
.table td, .table th {
  vertical-align: middle;
}
.btn-group .btn {
  margin-right: 5px;
}
.btn-xs {
  padding: 0.125rem 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
}
.fa-check, .fa-times {
  font-size: 1.2rem;
}




.card-body .row:not(:last-child) {
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
.btn-group .btn {
  margin-right: 5px;
}
.btn-xs {
  padding: 0.125rem 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
}
.fa-check, .fa-times {
  font-size: 1.2rem;
}






.table td, .table th {
  vertical-align: middle;
}
.btn-group .btn {
  margin-right: 5px;
}
.btn-xs {
  padding: 0.125rem 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
}





.card-body .row:not(:last-child) {
  margin-bottom: 1rem;
}
















/* DataTables overrides */
.dataTables_wrapper .dataTables_filter {
  float: right;
  margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_length {
  float: left;
  margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_info {
  clear: both;
  float: left;
  padding-top: 0.755em;
}

.dataTables_wrapper .dataTables_paginate {
  float: right;
  padding-top: 0.25em;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 15px;
  margin-left: 5px;
}

.table.dataTable {
  border-collapse: collapse !important;
}

.table.dataTable thead th {
  border-bottom: 2px solid var(--savoy-blue);
}

.table.dataTable tbody td {
  border-top: 1px solid #dee2e6;
}

.table.dataTable.no-footer {
  border-bottom: 2px solid var(--savoy-blue);
}

/* Maintain original table styles */
.table td, .table th {
  vertical-align: middle;
}

.table thead th {
  background-color: var(--savoy-blue);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: none;
}

.table-hover tbody tr:hover {
  background-color: var(--thistle);
}


div.dataTables_length select { 
  height: auto;
}

div.table-responsive>div.dataTables_wrapper>div.row
{
  padding: 0
}


















#map {
  height: 500px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}










.rejection-reason {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 10px;
  margin-top: 5px;
}
.rejection-reason p {
  margin-bottom: 10px;
}


.rejection-reason-snippet {
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
.rejection-reason-toggle {
    margin-left: 5px;
    color: #007bff;
}






.json-viewer {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 10px;
  max-height: 300px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.9em;
}
  
.select2-selection{ 
  height: 35px !important;
  width: 100% !important;
}


/* this block of css used in page add product */
.image-container {
  position: relative;
  display: inline-block;
  margin: 5px;
}

.image-container img {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}

.image-container .delete-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 20px;
  border-radius: 50%;
  padding-left: 6px;
  cursor: pointer;
  width: 25px;
  height: 25px;
}

.image-container:hover .delete-icon {
  display: block;
}

.image-container.border{
  width: 180px; height: 120px; cursor: pointer;
}

/* End block */




.nav-treeview {
  display: none;
}

.menu-open > .nav-treeview {
  display: block;
}

.nav-sidebar .nav-item > .nav-link {
  cursor: pointer;
}

.nav-sidebar .nav-treeview {
  transition: all 0.3s ease;
}

/* Optional: Smooth transition for menu collapse */
.main-sidebar {
  transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
}

.content-wrapper {
  transition: margin-left 0.3s ease-in-out;
}



@media (min-width: 768px) {
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .content-wrapper, 
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-footer, 
  body:not(.sidebar-mini-md):not(.sidebar-mini-xs):not(.layout-top-nav) .main-header {
      transition: margin-left .3s ease-in-out;
      margin-left: 4.6rem;
  }
}

.sidebar-collapse .main-sidebar:hover {
  transition: width .3s ease-in-out;
}



/* Add at the top of your CSS */
.sidebar-init-collapsed body {
  opacity: 0;
}

.sidebar-init-collapsed .main-sidebar {
  width: 4.6rem !important;
}

.sidebar-ready body {
  opacity: 1;
  transition: opacity 0.1s;
}

/* ===== MODERN LOGIN STYLES ===== */

.modern-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--savoy-blue), var(--orange-peel));
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  width: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  min-height: 500px;
}

.login-brand {
  background: linear-gradient(135deg, var(--orange-peel), var(--savoy-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.brand-content {
  text-align: center;
  color: white;
}

.brand-logo {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.brand-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.brand-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 25px;
  font-weight: 300;
}

.brand-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.feature i {
  font-size: 1.1rem;
  width: 18px;
}

.login-form-container {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-login-container {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: white;
  border-radius: 0;
  overflow: hidden;
}

.login-header {
  text-align: center;
  padding: 30px 30px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.login-logo-wrapper {
  margin-bottom: 15px;
}

.login-logo-img {
  width: 50px;
  height: auto;
}

.login-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--savoy-blue);
  margin-bottom: 5px;
}

.login-subtitle {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.login-body {
  padding: 30px;
}

.form-section {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--savoy-blue);
  margin-bottom: 20px;
  text-align: center;
}

.modern-form-group {
  margin-bottom: 20px;
}

.modern-label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.input-wrapper, .select-wrapper {
  position: relative;
}

.input-icon, .select-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  z-index: 2;
}

.modern-input, .modern-select {
  width: 100%;
  padding: 6px 8px 6px 32px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.813rem;
  transition: border-color 0.2s ease;
  background: #ffffff;
  color: #374151;
  height: 32px;
}

.modern-input:focus, .modern-select:focus {
  outline: none;
  border-color: var(--savoy-blue);
  box-shadow: 0 0 0 2px rgba(78, 98, 178, 0.1);
}

.modern-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 40px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modern-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.modern-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  margin-right: 8px;
  position: relative;
  transition: all 0.2s ease;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark {
  background: var(--savoy-blue);
  border-color: var(--savoy-blue);
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
  font-weight: bold;
}

.checkbox-text {
  font-size: 0.9rem;
  color: #374151;
}

.forgot-link {
  color: var(--savoy-blue);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: var(--orange-peel);
}

.modern-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.modern-btn-primary {
  background: var(--savoy-blue);
  color: white;
}

.modern-btn-primary:hover {
  background: var(--orange-peel);
}

.modern-btn-warning {
  background: #f59e0b;
  color: white;
  font-size: 0.85rem;
  padding: 10px 20px;
}

.modern-btn-warning:hover {
  background: #d97706;
}

.full-width {
  width: 100%;
}

.demo-accounts {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--savoy-blue);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.demo-list {
  margin-bottom: 12px;
}

.demo-item {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #374151;
}

.demo-item code {
  background: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--orange-peel);
  font-weight: 500;
}

.demo-note {
  font-size: 0.85rem;
  color: #6b7280;
  font-style: italic;
  margin: 0;
}

.clear-data-section {
  margin: 20px 0;
  text-align: center;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.signup-text {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0;
}

.signup-link {
  color: var(--savoy-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.signup-link:hover {
  color: var(--orange-peel);
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-grid {
    grid-template-columns: 1fr;
    margin: 20px;
    max-width: none;
  }
  
  .login-brand {
    padding: 25px 20px;
    order: 2;
  }
  
  .brand-title {
    font-size: 1.8rem;
  }
  
  .brand-features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  
  .feature {
    font-size: 0.85rem;
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
  
  .login-form-container {
    padding: 25px 20px;
    order: 1;
  }
  
  .form-options {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 10px;
  }
  
  .login-body {
    padding: 20px;
  }
  
  .login-header {
    padding: 20px;
  }
  
  .brand-title {
    font-size: 1.5rem;
  }
  
  .modern-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}

/* Enhanced focus states */
.modern-input:focus + .input-icon,
.modern-select:focus + .select-icon {
  color: var(--savoy-blue);
}





/* Fresh Start Button Styles */
.clear-data-section {
    margin-top: 20px;
    text-align: center;
}

.clear-data-section .modern-btn-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.clear-data-section .modern-btn-success:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    background: linear-gradient(45deg, #218838, #1eb880) !important;
}

.clear-data-section .modern-btn-success:active {
    transform: translateY(0) !important;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3) !important;
}

.fresh-start-info {
    margin-top: 10px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.fresh-start-info i {
    margin-right: 5px;
    color: #28a745;
}
