/* Import i Fontit të ri (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Përcaktimi i ngjyrave dhe variablave kryesore */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --light-bg: #f8f9fa;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --hover-shadow: 0 4px 12px rgba(0,0,0,0.15);
    --pms-blue: #3498db;
    --pms-dark-blue: #2980b9;
    --pms-light-grey: #f8f9fa;
    --pms-medium-grey: #ecf0f1;
    --pms-dark-grey: #7f8c8d;
    --pms-text-color: #34495e;
    --pms-success: #2ecc71;
    --pms-danger: #e74c3c;
    --pms-white: #ffffff;
    --pms-font-family: 'Poppins', sans-serif;
}

/* Stili bazë i faqes */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.container.mt-4 {
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.mt-4 {
    margin-top: 0.5rem;
}

/* Navbar - Built from scratch */
.main-nav {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 0;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    left: 0;
    right: 0;
}

.nav-container {
    width: 100%;
    margin: 0 auto;
    padding: 0.875rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    box-sizing: border-box;
}

.nav-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.nav-brand:hover {
    opacity: 0.9;
}

.nav-brand i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list-right {
    gap: 0.25rem;
    justify-self: end;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link i:not(.dropdown-arrow) {
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-link.active {
    background: var(--secondary-color);
    color: #fff;
}

.nav-link.logout-link {
    color: #ffc107;
    font-weight: 600;
}

.nav-link.logout-link:hover {
    color: #ffffff;
    background-color: var(--danger-color);
}

/* Dropdown */
.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 240px;
    width: auto;
    padding: 0.5rem 0;
    margin: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 8px;
    list-style: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.2s ease;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.dropdown-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.dropdown-item i {
    width: 18px;
    text-align: center;
    color: var(--secondary-color);
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    color: var(--secondary-color);
    padding-left: 1.75rem;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.1rem;
    }
    
    .status-card {
        padding: 1.35rem 1.15rem;
        min-height: 135px;
    }
    
    .status-card .room-number {
        font-size: 1.85rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-grid-two {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .nav-container {
        padding: 0.75rem 1rem;
        grid-template-columns: 1fr auto;
        gap: 1rem;
    }
    
    .nav-toggle {
        display: flex;
        grid-column: 2;
    }
    
    .nav-menu {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-list-right {
        justify-self: stretch;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.875rem 1rem;
        border-radius: 0;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        margin: 0;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 0;
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-item {
        padding-left: 2.5rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        padding-left: 2.75rem;
    }
    
    .dropdown-divider {
        border-top-color: rgba(255, 255, 255, 0.1);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .nav-brand i {
        font-size: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.875rem;
    }
    
    .status-card {
        padding: 1rem 0.875rem;
        min-height: 120px;
        border-radius: 12px;
    }
    
    .status-card .room-number {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .status-card .room-type {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
        margin: 0.35rem 0;
    }
    
    .status-card .room-status {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        margin-top: 0.35rem;
    }
}

/* Cards Enhancement */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

/* Booking form card - smaller width */
.card.booking-form-card {
    max-width: 800px;
    margin: 0 auto;
}

.card-body {
    padding: 0.875rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.action-buttons form {
    width: auto;
    max-width: none;
    display: inline-flex !important;
}

* {
    box-sizing: border-box;
}

.card-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.875rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.mt-3 {
    margin-top: 0.75rem !important;
}

.card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
}

.btn i {
    font-size: 0.9rem;
}

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

.btn-primary {
    background-color: var(--pms-blue);
    border-color: var(--pms-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--pms-dark-blue);
    border-color: var(--pms-dark-blue);
    color: #fff;
}

.btn-success {
    background-color: var(--pms-success);
    border-color: var(--pms-success);
    color: #fff;
}

.btn-success:hover {
     background-color: #27ae60;
     border-color: #27ae60;
    color: #fff;
}

.btn-danger {
    background-color: var(--pms-danger);
    border-color: var(--pms-danger);
    color: #fff;
}

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    color: #fff;
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: #fff;
}

.btn-warning:hover {
    background-color: #e67e22;
    border-color: #e67e22;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: #fff;
}

.btn-dark {
    background-color: #343a40;
    border-color: #343a40;
    color: #fff;
}

.btn-dark:hover {
    background-color: #23272b;
    border-color: #23272b;
    color: #fff;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
    color: #fff;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #138496;
    color: #fff;
}

.btn-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: #333;
}

.btn-light:hover {
    background-color: #e2e6ea;
    border-color: #e2e6ea;
    color: #333;
}

/* Form Controls - Modern Design */
.form-group {
    margin-bottom: 0.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.form-group label sup {
    color: var(--pms-danger);
    font-weight: 700;
    font-size: 0.9em;
    margin-left: 2px;
}

.duration-display {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
    line-height: 1.4;
    color: var(--primary-color);
    background-color: #ffffff;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:hover {
    border-color: #9ca3af;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background-color: #ffffff;
}

.form-control::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.form-control-lg {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
}

select.form-control {
    cursor: pointer;
    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='%23344a5e' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-control:focus {
    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='%233498db' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

textarea.form-control {
    min-height: 70px;
    resize: vertical;
    padding: 0.625rem 0.75rem;
    line-height: 1.4;
    font-family: inherit;
}

input[type="number"].form-control {
    -moz-appearance: textfield;
}

input[type="number"].form-control::-webkit-outer-spin-button,
input[type="number"].form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="datetime-local"].form-control {
    cursor: pointer;
}

input[type="datetime-local"].form-control::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    margin-left: 0.5rem;
}

input[type="datetime-local"].form-control::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.form-check {
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.form-check-input[type="checkbox"] {
    border-radius: 4px;
}

.form-check-input[type="radio"] {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.form-check-input:checked {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-check-label {
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
}

.form-check-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
    margin-bottom: 0;
}

/* Form Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .form-grid-two {
        grid-template-columns: 1fr;
    }
}


.form-help-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.form-help-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.form-help-text a:hover {
    color: var(--pms-dark-blue);
    text-decoration: underline;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
}

.price-display {
    text-align: right;
}

.price-display h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.price-display strong {
    color: var(--secondary-color);
    font-size: 1.75rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.mb-3 {
    margin-bottom: 0.75rem !important;
}

hr {
    margin: 1rem 0 0.75rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.text-danger {
    color: var(--pms-danger) !important;
    font-size: 0.875rem;
    margin-top: 0.375rem;
    display: block;
}

.small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Popover Enhancement */
.popover {
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    z-index: 1060;
    background-color: #ffffff;
    max-width: 280px;
    padding: 0;
    margin: 0;
    border-top: none;
}

.popover .popover-header:first-child {
    margin-top: 0;
    padding-top: 0.75rem;
}

.popover > *:first-child {
    margin-top: 0;
}

.popover-header {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border: none;
    border-top: none;
    font-size: 0.95rem;
    border-radius: 8px 8px 0 0;
    padding: 0.75rem 1rem;
    margin: 0;
    margin-top: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.popover.bs-popover-right .arrow {
    left: -0.5rem;
    margin-top: 0;
}

.popover.bs-popover-right .arrow::before {
    border-right-color: var(--primary-color);
    border-width: 0.5rem 0.5rem 0.5rem 0;
}

.popover.bs-popover-right .arrow::after {
    border-right-color: var(--primary-color);
    border-width: 0.5rem 0.5rem 0.5rem 0;
    left: 1px;
}


.popover-body {
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #ffffff;
    border-radius: 0 0 8px 8px;
    color: var(--primary-color);
    line-height: 1.6;
}

.popover-body p {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.popover-body p:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.popover-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.popover .arrow {
    width: 0.5rem;
    height: 0.5rem;
}

.popover .arrow::before {
    border-right-color: #e0e0e0;
}

.popover.bs-popover-right .arrow::after {
    border-right-color: #ffffff;
}

.popover.bs-popover-left .arrow::after {
    border-left-color: #ffffff;
}

.popover.bs-popover-top .arrow::after {
    border-top-color: #ffffff;
}

.popover.bs-popover-bottom .arrow::after {
    border-bottom-color: #ffffff;
}

/* Dashboard Menu */
/* Dashboard Styles */
.dashboard-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.dashboard-welcome h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.dashboard-welcome p {
    font-size: 1.1rem;
    color: var(--pms-dark-grey);
    margin: 0;
}

.dashboard-turnover {
    flex-shrink: 0;
}

.turnover-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--pms-dark-blue) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    min-width: 220px;
}

.turnover-card h6 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.turnover-amount {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.dashboard-section {
    margin-bottom: 3rem;
}

.dashboard-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.section-subtitle {
    color: var(--pms-dark-grey);
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.dashboard-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.dashboard-menu > .btn {
    margin: 0;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    justify-content: flex-start;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.dashboard-menu > .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
}

.status-card {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: white;
    border: 3px solid transparent;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: currentColor;
    opacity: 0.3;
}

.status-card.room-free {
    background: #ffffff;
    color: var(--primary-color);
    border-color: rgba(44, 62, 80, 0.15);
    cursor: pointer;
}

.status-card.room-free::before {
    display: none;
}

.status-card.room-booked {
    background: #ffffff;
    color: #e74c3c;
    border-color: #e74c3c;
}

.status-card.room-booked::before {
    background: #e74c3c;
    opacity: 1;
}

.status-card.room-free:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(44, 62, 80, 0.15);
    border-color: var(--primary-color);
    border-width: 3px;
}

.status-card.room-booked:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 24px rgba(231, 76, 60, 0.25);
    border-color: #c0392b;
    border-width: 3px;
}

.status-card.room-selected {
    border-color: var(--secondary-color);
    border-width: 3px;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    transform: scale(1.05);
}

.status-card.room-selected::before {
    display: none;
}

.status-card .room-number {
    font-size: 2.25rem;
    font-weight: 900;
    display: block;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.status-card.room-free .room-number {
    color: var(--primary-color);
}

.status-card.room-booked .room-number {
    color: #e74c3c;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.15);
}

.status-card .room-type {
    font-size: 0.75rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 0.6rem;
    margin: 0.5rem 0;
    border-radius: 6px;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.status-card.room-free .room-type {
    color: var(--pms-dark-grey);
    background: #f5f5f5;
}

.status-card.room-booked .room-type {
    color: #c0392b;
    background: #f5f5f5;
}

.status-card .room-status {
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.status-card.room-free .room-status {
    background: #27ae60;
    color: white;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.status-card.room-booked .room-status {
    background: #e74c3c;
    color: white;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.status-card .room-status::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: inline-block;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.no-rooms {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: var(--pms-dark-grey);
    font-size: 1.1rem;
}

/* Bookings Page Styles */
.bookings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.bookings-title h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.bookings-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bookings-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: 80px; /* Account for fixed navbar if any */
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.875rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.date-filter-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.date-filter-form label {
    margin: 0;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.date-filter-form .form-control {
    width: auto;
    min-width: 180px;
}

.filter-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1.25rem;
}

.filter-form {
    width: 100%;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

.bookings-table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    overflow-x: auto;
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.bookings-table thead {
    background: var(--primary-color);
    color: white;
}

.bookings-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    user-select: none;
}

.bookings-table th.sortable {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bookings-table th.sortable:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bookings-table th .sort-icon {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.bookings-table th.sortable:hover .sort-icon {
    opacity: 1;
}

.bookings-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.bookings-table tbody tr:hover {
    background-color: #f8f9fa;
}

.bookings-table tbody tr:last-child {
    border-bottom: none;
}

.bookings-table td {
    padding: 1rem 1.25rem;
    color: var(--primary-color);
    vertical-align: middle;
}

.bookings-table td:last-child {
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.action-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-confirmed {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.status-checked-out {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
}

.status-cancelled {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.action-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.action-buttons > * {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.inline-form {
    display: inline-flex !important;
    margin: 0;
    vertical-align: middle;
    align-items: center;
}

.inline-form button {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.action-buttons .btn {
    display: inline-flex;
    align-items: center;
}

.action-buttons form {
    display: inline-flex !important;
    margin: 0;
}

.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.85rem;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--pms-dark-blue);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pagination-btn.disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    background: #f3f4f6;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-number:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-info {
        text-align: center;
        width: 100%;
    }
    
    .pagination {
        justify-content: center;
    }
    
    .pagination-btn span {
        display: none;
    }
    
    .pagination-btn {
        padding: 0.5rem;
    }
}

.no-bookings {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 3rem;
    text-align: center;
    color: var(--pms-dark-grey);
    font-size: 1.1rem;
}

.room-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(52, 152, 219, 0.15);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 1rem;
}

.room-filter-badge .remove-filter {
    color: var(--secondary-color);
    text-decoration: none;
    margin-left: 0.5rem;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.room-filter-badge .remove-filter:hover {
    background: rgba(52, 152, 219, 0.3);
    color: var(--pms-dark-blue);
}



/* Login Page - Built from scratch */
body.login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #dde4eb 100%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

body.login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(44, 62, 80, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Navbar on login page */
body.login-page .main-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

body.login-page .nav-brand {
    color: var(--primary-color);
}

body.login-page .nav-container {
    justify-content: center;
}

body.login-page .nav-menu,
body.login-page .nav-toggle {
    display: none;
}

body.login-page .nav-brand {
    font-size: 1.1rem;
}

/* Login wrapper - centers the form */
.login-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: 8vh;
    min-height: 0;
}

/* Login form */
.login-form {
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.login-form h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1a252f;
    letter-spacing: -0.5px;
}

.login-form .subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0 0 2rem 0;
}

.login-form .field {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.login-form label i {
    color: #5a6c7d;
    font-size: 1rem;
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.08);
    background: #ffffff;
}

.login-form .error {
    display: block;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 0.5rem;
}

.login-form button {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: #2c3e50;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 0.5rem;
    font-family: inherit;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.login-form button:hover {
    background: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.25);
}

.login-form button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(44, 62, 80, 0.2);
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .login-form {
        max-width: 450px;
        padding: 2.5rem;
    }
    
    .login-form h2 {
        font-size: 2rem;
    }
}

/* Desktop styles */
@media (min-width: 1025px) {
    .login-form {
        max-width: 420px;
        padding: 2.5rem;
    }
    
    .login-form h2 {
        font-size: 2rem;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .login-wrapper {
        padding: 1rem 0.75rem;
    }
    
    .login-form {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .login-form h2 {
        font-size: 1.5rem;
    }
    
    .login-form .subtitle {
        font-size: 0.85rem;
    }
    
    .login-form input {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .login-form button {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .login-form {
        padding: 1.25rem;
    }
    
    .login-form h2 {
        font-size: 1.35rem;
    }
    
    .login-form .field {
        margin-bottom: 1.25rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .card-body,
    .card-header {
        padding: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    
    .form-grid,
    .form-grid-two {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-body h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .price-display {
        text-align: center;
        margin-top: 1rem;
    }

    .dashboard-turnover {
        width: 100%;
    }

    .turnover-card {
        min-width: auto;
        width: 100%;
    }

    .dashboard-menu {
        grid-template-columns: 1fr;
    }

    .dashboard-menu > .btn {
        width: 100%;
        min-width: auto;
    }

    .rooms-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .status-card {
        padding: 1.25rem 1rem;
        min-height: 130px;
    }
    
    .status-card .room-number {
        font-size: 1.75rem;
    }
    
    .status-card .room-type {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .status-card .room-status {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }
}

/* Bootstrap Modal Overrides - Ensure proper display */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal.show {
    display: block;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    pointer-events: none;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-lg {
    max-width: 800px;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    cursor: pointer;
}

.close:hover {
    opacity: 0.75;
}

/* Reports Page Styles */
.reports-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.reports-title h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.reports-title .subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.reports-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.reports-section {
    margin-bottom: 1.5rem;
}

.reports-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 1rem 0;
}

.filter-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.filter-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 1.25rem 0;
}

.filter-form {
    margin-top: 1rem;
}

.filter-form-inline {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
    min-width: 150px;
}

.filter-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
    margin: 0;
}

.filter-field .form-control-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.filter-field .btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    white-space: nowrap;
    height: auto;
    min-height: 40px;
}

.filter-field:last-child {
    flex: 0 0 auto;
    min-width: auto;
}

@media (max-width: 768px) {
    .filter-form-inline {
        flex-direction: column;
    }
    
    .filter-field {
        width: 100%;
        min-width: 100%;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    flex-shrink: 0;
}

.stat-primary .stat-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.stat-danger .stat-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.stat-success .stat-icon {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.stat-content p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

/* Report Link Cards */
.reports-links {
    display: grid;
    gap: 1rem;
}

.report-link-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.report-link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.report-link-card i:first-child {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

.report-link-card > div {
    flex: 1;
}

.report-link-card h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.25rem 0;
}

.report-link-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

.report-link-card i:last-child {
    color: #cbd5e0;
    font-size: 1.25rem;
}

/* Data Table Styles */
.table-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table thead {
    background: var(--primary-color);
    color: white;
}

.data-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table th.text-right {
    text-align: right;
}

.data-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 1rem 1.25rem;
    color: var(--primary-color);
    vertical-align: middle;
}

.data-table td.text-right {
    text-align: right;
}

.data-table tfoot {
    background: #f8f9fa;
    font-weight: 700;
}

.data-table tfoot td {
    padding: 1.25rem 1.25rem;
    font-size: 1rem;
}

.table-total {
    background: var(--primary-color) !important;
    color: white !important;
}

.table-total td {
    color: white !important;
}

/* No Data Message */
.no-data {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 3rem;
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
}

/* Report Header for Print */
.report-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.report-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.report-header h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
}

@media (max-width: 768px) {
    .reports-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Rooms Page Styles */
.rooms-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.rooms-title h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.rooms-title .subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.rooms-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.rooms-section {
    margin-bottom: 2rem;
}

.rooms-grid-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

@media (max-width: 1400px) {
    .rooms-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .rooms-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rooms-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rooms-grid-modern {
        grid-template-columns: 1fr;
    }
}

.room-card-modern {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    min-height: 0;
}

.room-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.room-card-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.room-number-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    flex: 1;
}

.room-number-large i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.room-type-badge {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0.9;
}

.room-card-middle {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.room-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.85rem;
}

.room-info-item i {
    color: var(--secondary-color);
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.room-prices-section {
    padding: 0.875rem 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.85rem;
}

.price-row:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}

.price-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.8rem;
}

.price-amount {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.room-card-bottom {
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: auto;
}

.room-actions-modern {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: stretch;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    min-height: 36px;
    width: 100%;
    box-sizing: border-box;
}

.inline-form {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.inline-form .btn-action {
    width: 100%;
}

.btn-edit {
    background: #6c757d;
    color: white;
}

.btn-edit:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.btn-delete:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.room-creator-info {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #6b7280;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
}

.room-creator-info i {
    color: #9ca3af;
    font-size: 0.85rem;
}

.no-rooms {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    padding: 4rem 2rem;
    text-align: center;
    color: #6b7280;
}

.no-rooms i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
    display: block;
}

.no-rooms p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Employees Page Styles */
.employees-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.employees-title h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.employees-title .subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.employees-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.employees-section {
    margin-bottom: 2rem;
}

.employee-name {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.employee-name i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.username-text {
    font-weight: 500;
    color: var(--primary-color);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.email-link i {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.role-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
}

.role-badge.role-admin {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.role-badge.role-manager {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529;
}

.role-badge.role-reception {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.role-badge.role-accountant {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
}

/* Form Header Styles */
.form-header {
    margin-bottom: 1rem;
}

.form-title {
    margin-bottom: 1.5rem;
}

.form-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

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

.form-info {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--secondary-color);
    margin-bottom: 1rem;
}

.form-info i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.form-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Clients Page Styles */
.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    margin-top: 0;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.clients-title h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.clients-title .subtitle {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.clients-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.clients-section {
    margin-bottom: 2rem;
}

.client-name {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.client-name i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.phone-link i {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.id-number {
    font-weight: 500;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

/* Client Details Page Styles */
.client-details-section {
    margin-bottom: 2rem;
}

.client-details-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.client-details-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.client-avatar {
    font-size: 4rem;
    opacity: 0.9;
}

.client-name-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: white;
}

.client-id {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    font-family: 'Courier New', monospace;
}

.client-details-body {
    padding: 1.5rem 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    color: white;
    border-radius: 10px;
    flex-shrink: 0;
}

.detail-icon i {
    font-size: 1.1rem;
}

.detail-content {
    flex: 1;
}

.detail-content label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.detail-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.client-bookings-section {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .rooms-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .employees-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .employees-actions {
        width: 100%;
    }
    
    .employees-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .clients-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .clients-actions {
        width: 100%;
    }
    
    .clients-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .client-details-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .client-avatar {
        font-size: 3rem;
    }
    
    .client-details-body {
        padding: 1rem 1.25rem;
    }
}
