/* Custom styles for the application */

/* Additional styles can be added here */

/* Ensure Feather icons display properly */
[data-feather] {
    display: inline-block;
    vertical-align: middle;
}

/* Fix for Feather icons initialization */
.feather {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Hotel table specific styles */
.hotel-list-table .avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hotel-list-table .avatar img {
    border-radius: 0.375rem;
}

/* Status badge improvements */
.btn.dropdown-toggle {
    border: none;
    font-weight: 500;
}

.btn.dropdown-toggle:hover {
    opacity: 0.9;
}

/* Dropdown improvements */
.dropdown-item.status-action.active {
    background-color: #e9ecef;
    color: #495057;
    font-weight: 500;
}

.dropdown-item.status-action:hover {
    background-color: #f8f9fa;
}

/* SweetAlert2 Dark Mode Support - Global */
.dark-layout .swal2-popup,
html.dark-layout .swal2-popup {
    background-color: #283046 !important;
    color: #d0d2d6 !important;
}

.dark-layout .swal2-title,
html.dark-layout .swal2-title,
.dark-layout .swal2-show h2,
html.dark-layout .swal2-show h2 {
    color: #d0d2d6 !important;
}

.dark-layout .swal2-content,
html.dark-layout .swal2-content,
.dark-layout .swal2-html-container,
html.dark-layout .swal2-html-container {
    color: #b4b7bd !important;
}

.dark-layout .swal2-icon.swal2-success .swal2-success-ring,
html.dark-layout .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(40, 199, 111, 0.3) !important;
}

.dark-layout .swal2-icon.swal2-success [class^='swal2-success-line'],
html.dark-layout .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #28c76f !important;
}

.dark-layout .swal2-icon.swal2-error [class^='swal2-x-mark-line'],
html.dark-layout .swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #ea5455 !important;
}

.dark-layout .swal2-icon.swal2-warning,
html.dark-layout .swal2-icon.swal2-warning {
    border-color: #ff9f43 !important;
    color: #ff9f43 !important;
}

.dark-layout .swal2-icon.swal2-info,
html.dark-layout .swal2-icon.swal2-info {
    border-color: #00cfe8 !important;
    color: #00cfe8 !important;
}

/* Toast styling for dark mode */
.dark-layout .swal2-toast,
html.dark-layout .swal2-toast {
    background-color: #283046 !important;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24) !important;
}

.dark-layout .swal2-toast .swal2-title,
html.dark-layout .swal2-toast .swal2-title {
    color: #d0d2d6 !important;
}

.dark-layout .swal2-toast .swal2-html-container,
html.dark-layout .swal2-toast .swal2-html-container {
    color: #b4b7bd !important;
}

/* Confirm button styling */
.dark-layout .swal2-confirm,
html.dark-layout .swal2-confirm {
    background-color: #7367f0 !important;
}

.dark-layout .swal2-cancel,
html.dark-layout .swal2-cancel {
    background-color: #82868b !important;
}

/* Light mode SweetAlert2 */
.swal2-show h2 {
    color: #5e5873 !important;
}

.table-responsive {
    min-height: 400px;
}
