.authentication .desktop-dark, .authentication .desktop-logo{
  height: 5rem !important;
}
.app-sidebar{
  width: 18rem !important;
}
.app-header{
  padding-inline-start: 18rem !important;
}
.app-sidebar .slide-menu.child1 .side-menu__item:before{
  display: none !important;
}
.app-sidebar .slide-menu.child1 .side-menu__item, .app-sidebar .slide-menu.child2 .side-menu__item{
      padding: 0.45rem 1rem !important;
}
.app-sidebar .main-sidebar-header{
  width: 18rem !important;
}
.sidebar-collapsed .main-sidebar-header {
  width: 5rem !important;
}
.sidebar-collapsed .main-sidebar-header .desktop-logo{
  display: none !important;
}
.desktop-logo{
  display: block !important;
}
.toggle-logo{
  display: none !important;
}

.sidebar-collapsed .main-sidebar-header .toggle-logo{
  display: block !important;
  height: fit-content !important;
}
.header-sidebar-toggled{
  padding-inline-start: 5rem !important;
}
@media (min-width: 992px){
  .app-content {
        margin-inline-start: 18rem !important;
  }
  [data-vertical-style=overlay][data-toggled=icon-overlay-close]:not([data-icon-overlay=open]) .app-sidebar {
    width: 5rem !important;
}
[data-vertical-style=overlay][data-toggled=icon-overlay-close] .app-header {
    -webkit-padding-start: 5rem !important;
    padding-inline-start: 5rem !important;
}
[data-vertical-style=overlay][data-toggled=icon-overlay-close] .app-content {
    -webkit-margin-start: 5rem !important;
    margin-inline-start: 5rem !important;
}
}
.datepicker-dropdown{
    z-index: 9999 !important;
}
.bootstrap-timepicker-widget table td a {
  color: #495057; }
  .bootstrap-timepicker-widget table td a:hover {
    background-color: transparent;
    border-color: transparent;
    border-radius: 4px;
    color: #556ee6;
    text-decoration: none; }

.bootstrap-timepicker-widget table td input {
  width: 32px;
  height: 32px;
  border: 0;
  color: #495057;
  border: 1px solid #eff2f7;
  background-color: #fff; }

.bootstrap-timepicker-widget.dropdown-menu:after {
  border-bottom-color: #eff2f7; }

.bootstrap-timepicker-widget.timepicker-orient-bottom:after {
  border-top-color: #eff2f7; }

.timepicker-orient-top {
  top: calc(1.5em + 0.94rem + 2px) !important; }

.timepicker-orient-bottom {
  top: auto !important;
  bottom: calc(1.5em + 0.94rem + 2px) !important; }

.bootstrap-timepicker-widget {
  left: 0 !important;
  right: auto !important; }

.bootstrap-timepicker-widget.timepicker-orient-left:before {
  left: 6px;
  right: auto; }

.bootstrap-timepicker-widget.timepicker-orient-left::after {
  left: 7px;
  right: auto; }

[dir="rtl"] .datepicker {
  right: 0 !important;
  left: auto; }

.datepicker {
  border: 1px solid #eff2f7;
  padding: 8px;
  z-index: 9999 !important;}
  .datepicker table tr th {
    font-weight: 500; }
  .datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td .active.disabled, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.today, .datepicker table tr td.today:hover, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.selected, .datepicker table tr td.selected:hover, .datepicker table tr td.selected.disabled, .datepicker table tr td.selected.disabled:hover,
  .datepicker table tr td span.active.active, .datepicker table tr td span.active:hover.active {
    background-color: #556ee6 !important;
    background-image: none !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    color: #fff !important; }
  .datepicker table tr td.day.focused, .datepicker table tr td.day:hover,
  .datepicker table tr td span.focused,
  .datepicker table tr td span:hover {
    background: #eff2f7; }
  .datepicker table tr td.new, .datepicker table tr td.old,
  .datepicker table tr td span.new,
  .datepicker table tr td span.old {
    color: #adb5bd;
    opacity: 0.6; }
  .datepicker table tr td.range, .datepicker table tr td.range.disabled, .datepicker table tr td.range.disabled:hover, .datepicker table tr td.range:hover {
    background-color: #f6f6f6; }

.table-condensed > thead > tr > th, .table-condensed > tbody > tr > td {
  padding: 7px; }

.bootstrap-datepicker-inline .datepicker-inline {
  width: auto !important;
  display: inline-block; }

.datepicker-container {
  border: 1px solid #eff2f7;
  -webkit-box-shadow: none;
          box-shadow: none;
  background-color: #fff; }
  .datepicker-container.datepicker-inline {
    width: 212px; }

.datepicker-panel > ul > li {
  background-color: #fff;
  border-radius: 4px; }
  .datepicker-panel > ul > li.picked, .datepicker-panel > ul > li.picked:hover {
    background-color: rgba(85, 110, 230, 0.25);
    color: #556ee6; }
  .datepicker-panel > ul > li.highlighted, .datepicker-panel > ul > li.highlighted:hover, .datepicker-panel > ul > li:hover {
    background-color: #556ee6;
    color: #fff; }
  .datepicker-panel > ul > li.muted, .datepicker-panel > ul > li.muted:hover {
    color: #adb5bd;
    opacity: 0.6; }

.datepicker-panel > ul[data-view=week] > li {
  font-weight: 500; }

.datepicker-panel > ul[data-view=week] > li, .datepicker-panel > ul[data-view=week] > li:hover {
  background-color: #fff; }

.bootstrap-touchspin.input-group > .input-group-prepend > .btn, .bootstrap-touchspin.input-group > .input-group-prepend > .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0; }

.bootstrap-touchspin.input-group > .input-group-append > .btn, .bootstrap-touchspin.input-group > .input-group-append > .input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0; }


.main-date-new[type="date"] {
  position: relative;
  background-color: transparent;
  border: 1px solid #4a4a4a !important;
}

.main-date-new[type="date"]::-webkit-calendar-picker-indicator {
  background-position: right;
  background-size: auto;
  cursor: pointer;
  position: absolute;
  left: 0;
  right: 10px;
  width: auto;
}
.datepicker-new .input-group-text{
  font-size: 1.1rem;
}
.mt29{
  margin-top: 29px !important;
}
.form-select{
  padding: 0.55rem 0.85rem !important;
  font-size: 0.8rem !important;
}
.add-new-modal{
  width: 900px !important;
  max-width: 900px !important;
}
.border-light-1-new{
  border-top: 1px solid #b3b3b3;
}
.modal-footer{
  padding: 1rem !important;
}
.grey-main-hr{
  border-color: #898989;
}

/* Edit Service Details Page Styles - These styles are specific to the edit service page and won't affect other pages */
.edit-service-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.edit-service-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

.edit-service-title {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.edit-service-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.edit-service-id {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

.edit-service-form-section {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.edit-service-form-title {
  color: #333;
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.edit-service-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edit-service-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edit-service-label {
  font-weight: 600;
  color: #333;
  font-size: 1rem;
}

.edit-service-input,
.edit-service-textarea,
.edit-service-select {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.edit-service-input:focus,
.edit-service-textarea:focus,
.edit-service-select:focus {
  outline: none;
  border-color: #556ee6;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.1);
}

.edit-service-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Portfolio Dropdown Fixes - These styles fix the dropdown size and text wrapping issues */
.portfolio-category-filter .form-select,
.portfolio-modal .form-select {
  max-width: 100% !important;
  width: 100% !important;
  white-space: break-spaces !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  height: auto !important;
  min-height: 38px !important;
  line-height: 1.4 !important;
  word-break: break-all !important;
  word-wrap: break-word !important;
}

.portfolio-category-filter .form-select option,
.portfolio-modal .form-select option {
  white-space: break-spaces !important;
  word-break: break-all !important;
  word-wrap: break-word !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  padding: 8px 12px !important;
  line-height: 1.4 !important;
  min-height: 20px !important;
  height: auto !important;
}

/* Ensure dropdown container doesn't expand beyond reasonable limits */
.portfolio-category-filter,
.portfolio-modal .col-md-6,
.portfolio-modal .col-md-4 {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Fix for dropdown arrow positioning */
.portfolio-category-filter .form-select,
.portfolio-modal .form-select {
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  padding-right: 2.5rem !important;
}

/* Ensure dropdown options are properly sized */
.portfolio-category-filter .form-select:focus,
.portfolio-modal .form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(85, 110, 230, 0.25) !important;
  border-color: #556ee6 !important;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .portfolio-category-filter .form-select,
  .portfolio-modal .form-select {
    font-size: 0.875rem !important;
    padding: 0.5rem 0.75rem !important;
  }
  
  .portfolio-category-filter .form-select option,
  .portfolio-modal .form-select option {
    font-size: 0.875rem !important;
    padding: 6px 10px !important;
  }
}

.edit-service-bullet-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edit-service-bullet-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.edit-service-bullet-input {
  flex: 1;
  padding: 10px 15px;
  border: 2px solid #e9ecef;
  border-radius: 6px;
  font-size: 1rem;
}

.edit-service-bullet-input:focus {
  outline: none;
  border-color: #556ee6;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.1);
}

.edit-service-add-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.edit-service-add-btn:hover {
  background: #5a6268;
}

.edit-service-remove-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.edit-service-remove-btn:hover {
  background: #c82333;
}

.edit-service-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.edit-service-save-btn {
  background: #556ee6;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.edit-service-save-btn:hover {
  background: #4a5fd8;
}

.edit-service-cancel-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.edit-service-cancel-btn:hover {
  background: #5a6268;
}

/* Responsive design for the edit service page */
@media (max-width: 768px) {
  .edit-service-container {
    padding: 15px;
  }
  
  .edit-service-form-section {
    padding: 20px;
  }
  
  .edit-service-title {
    font-size: 2rem;
  }
  
  .edit-service-actions {
    flex-direction: column;
  }
  
  .edit-service-bullet-item {
    flex-direction: column;
    align-items: stretch;
  }
  
  .edit-service-remove-btn {
    align-self: flex-end;
  }
}

/* Service Details Page Styles */
.service-details-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-details-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.service-details-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-details-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.service-details-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-details-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-details-content {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-details-section {
  margin-bottom: 2rem;
}

.service-details-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.service-details-description {
  line-height: 1.8;
  color: #666;
  font-size: 1.1rem;
}

.service-details-features {
  list-style: none;
  padding: 0;
}

.service-details-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f8f9fa;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-details-features li:last-child {
  border-bottom: none;
}

.service-details-features li i {
  color: #28a745;
  font-size: 1.2rem;
}

.service-details-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.service-details-back-btn {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  transition: all 0.3s ease;
}

.service-details-back-btn:hover {
  background-color: #5a6268;
  border-color: #545b62;
  color: white;
}

.service-details-edit-btn {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
  transition: all 0.3s ease;
}

.service-details-edit-btn:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  color: white;
}

.service-details-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-details-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

.service-details-status.active {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.service-details-status.inactive {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
  .service-details-header {
    padding: 1.5rem;
  }

  .service-details-title {
    font-size: 2rem;
  }

  .service-details-meta {
    flex-direction: column;
    gap: 1rem;
  }

  .service-details-content {
    padding: 1.5rem;
  }

  .service-details-actions {
    flex-direction: column;
  }

  .service-details-actions .btn {
    width: 100%;
  }
}

/* Service Details Form Styles */
.service-details-form {
  max-width: 100%;
  margin: 0 auto;
}

.service-details-form .form-group {
  margin-bottom: 1.5rem;
}

.service-details-form .form-label {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.service-details-form .form-control {
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fff;
}

.service-details-form .form-control:focus {
  border-color: #556ee6;
  box-shadow: 0 0 0 3px rgba(85, 110, 230, 0.1);
  outline: none;
}

.service-details-form .form-control::placeholder {
  color: #adb5bd;
}

/* Dynamic Services Section Styles */
.dynamic-services-section {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #e9ecef;
}

.dynamic-services-section .section-header {
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.dynamic-services-section .section-header h5 {
  color: #333;
  font-weight: 700;
}

/* Service Item Styles */
.service-item {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.service-item-header {
  border-bottom: 1px solid #f1f3f4;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.service-item-header h6 {
  color: #495057;
  font-weight: 600;
}

.service-item .form-group {
  margin-bottom: 1rem;
}

.service-item .form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.service-item .form-control {
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
}

/* Icon Preview Styles */
.icon-preview {
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.icon-preview:hover {
  transform: scale(1.05);
}

.icon-preview img {
  border-radius: 6px;
}

/* Button Styles */
.service-details-form .btn {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
}

.service-details-form .btn-primary {
  background-color: #556ee6;
  color: white;
}

.service-details-form .btn-primary:hover {
  background-color: #4a5fd8;
  transform: translateY(-1px);
}

.service-details-form .btn-success {
  background-color: #28a745;
  color: white;
}

.service-details-form .btn-success:hover {
  background-color: #218838;
  transform: translateY(-1px);
}

.service-details-form .btn-outline-danger {
  border-color: #dc3545;
  color: #dc3545;
  background-color: transparent;
}

.service-details-form .btn-outline-danger:hover {
  background-color: #dc3545;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dynamic-services-section {
    padding: 1.5rem;
  }

  .service-item {
    padding: 1rem;
  }

  .service-item .row {
    flex-direction: column;
  }

  .service-item .col-md-4 {
    margin-bottom: 1rem;
  }

  .service-details-form .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .service-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .service-item-header .btn {
    align-self: flex-end;
  }
}

@media (max-width: 576px) {
  .service-details-form {
    padding: 1rem;
  }

  .dynamic-services-section {
    padding: 1rem;
  }

  .service-item {
    padding: 0.75rem;
  }
}



/* Resend Link Styles */
.text-primary {
  color: #556ee6 !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.text-primary:hover {
  color: #4a5fd8 !important;
  text-decoration: underline;
}



.service-details-form .form-control::placeholder {
  color: #000000;   /* thoda dark grey */
  opacity: 0.4;
}


@media (min-width: 992px) {
  [data-vertical-style=overlay][data-toggled=icon-overlay-close]:not([data-icon-overlay=open]) .app-sidebar {
    width: 5rem;
  }
  [data-vertical-style=overlay][data-toggled=icon-overlay-close]:not([data-icon-overlay=open]) .app-sidebar .main-sidebar-header {
    width: 5rem !important;
  }
}