/* Custom Modal Styling */
.custom-modal {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  background-color: #fff;
}

.custom-modal .modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 15px 20px;
}

.custom-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.custom-modal .modal-body {
  padding: 20px;
}

.custom-modal .modal-footer {
  border-top: 1px solid #e9ecef;
  padding: 10px 20px;
  background-color: #f8f9fa;
}

/* Custom File Upload */
.custom-file-upload {
  position: relative;
  display: flex;
  align-items: center;
  border: 2px dashed #d1d8e0;
  border-radius: 6px;
  padding: 15px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.custom-file-upload:hover {
  border-color: #007bff;
  background-color: #f1f5f9;
}

.custom-file-upload input[type="file"] {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.custom-file-upload .file-name {
  flex-grow: 1;
  font-size: 0.9rem;
  color: #495057;
  margin-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-file-upload .choose-file {
  white-space: nowrap;
  border: 1px solid #ced4da;
  color: #495057;
  transition: all 0.3s ease;
}

.custom-file-upload .choose-file:hover {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Upload Button */
.btn-upload {
  padding: 10px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

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

/* Responsive Adjustments */
@media (max-width: 576px) {
  .custom-modal .modal-dialog {
    margin: 10px;
  }
  .custom-file-upload {
    flex-direction: column;
    align-items: stretch;
  }
  .custom-file-upload .file-name {
    margin-bottom: 10px;
    text-align: center;
  }
  .custom-file-upload .choose-file {
    width: 100%;
  }
}

/* Ensure buttons and links align with dashboard theme */
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #004085;
}

.btn-outline-secondary {
  border-color: #ced4da;
  color: #495057;
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  border-color: #adb5bd;
}
.app-brand-text.demo{
    
    text-transform: capitalize;
}
#appointment_table .custom-btn {
    margin-right:10px;
}

.select2-container .select2-selection--single {

    height: 38px !important;

    
}

.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 38px !important; 
}

.btn-close span {
    display: none;
}

.alert-success {
    
    text-transform: capitalize !important;
}



.app-brand-logo {
 display:none;
}

.layout-menu-collapsed .app-brand-logo {
 display:block;
}

.layout-menu-hover .app-brand-logo{
 display:none;
}

.menu-toggle::after{
    right:10px;
}


.layout-navbar.navbar-detached.container-xxl {
    max-inline-size: calc(1920px - 1.625rem * 2);
}


@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1920px;
    }
}