/* Hotel Locking System - Styles */
/* Ghana Edition Theme */

:root {
    --primary: #006B3F;
    /* Ghana Green */
    --secondary: #FCD20E;
    /* Ghana Gold */
    --success: #27ae60;
    --danger: #e74c3c;
    --warning: #f39c12;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --grey: #95a5a6;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --ghana-green: #006B3F;
    --ghana-gold: #FCD20E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #f5f6fa;
    min-height: 100vh;
}

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.login-box {
    width: 400px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 48px;
    color: var(--ghana-green);
}

.login-header h2 {
    color: var(--dark);
    margin-top: 10px;
}

.login-header p {
    color: var(--ghana-green);
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--ghana-green) 0%, #004d2a 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #008050 0%, #006B3F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 107, 63, 0.4);
}

.error-message {
    color: var(--danger);
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--grey);
    font-size: 13px;
}

/* Main App */
.hidden {
    display: none !important;
}

#app {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary) 0%, #004d2a 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    border-right: 3px solid var(--ghana-gold);
}

.sidebar-header {
    padding: 25px 20px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-header i {
    margin-right: 10px;
    color: var(--ghana-gold);
}

.sidebar-header span:last-child {
    font-size: 9px;
    color: var(--ghana-gold);
    letter-spacing: 2px;
    display: block;
    margin-top: 2px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-left: 3px solid var(--ghana-gold);
}

.nav-item i {
    width: 30px;
    font-size: 18px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info i {
    font-size: 24px;
}

.btn-logout {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.3s;
}

.btn-logout:hover {
    background: var(--danger);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: #f5f6fa;
}

.view {
    display: none;
}

.view.active {
    display: block;
}

.view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.view-header h1 {
    color: var(--dark);
    font-size: 28px;
}

.view-header h1 i {
    margin-right: 12px;
    color: var(--ghana-green);
}

.date-display {
    color: var(--grey);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
}

.stat-icon.available {
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
}

.stat-icon.occupied {
    background: rgba(52, 152, 219, 0.15);
    color: var(--secondary);
}

.stat-icon.locked {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
}

.stat-icon.guests {
    background: rgba(243, 156, 18, 0.15);
    color: var(--warning);
}

.stat-info h3 {
    font-size: 32px;
    color: var(--dark);
}

.stat-info p {
    color: var(--grey);
    font-size: 14px;
}

/* Quick Actions */
.quick-actions {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.quick-actions h2 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 20px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.action-btn {
    background: linear-gradient(135deg, var(--ghana-green), #004d2a);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 107, 63, 0.4);
}

.action-btn i {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}

.action-btn span {
    display: block;
    font-size: 14px;
}

/* Recent Activity */
.recent-activity {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.recent-activity h2 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 20px;
}

.recent-activity h2 i {
    margin-right: 10px;
    color: var(--secondary);
}

.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.activity-icon.check-in {
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
}

.activity-icon.check-out {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
}

.activity-icon.lock {
    background: rgba(243, 156, 18, 0.15);
    color: var(--warning);
}

.activity-details {
    flex: 1;
}

.activity-details strong {
    color: var(--dark);
}

.activity-details p {
    color: var(--grey);
    font-size: 13px;
}

.activity-time {
    color: var(--grey);
    font-size: 12px;
}

/* Room Grid */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.room-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.room-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.room-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.room-type {
    background: var(--light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--grey);
}

.room-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.room-status.available {
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
}

.room-status.occupied {
    background: rgba(52, 152, 219, 0.15);
    color: var(--secondary);
}

.room-status.maintenance {
    background: rgba(243, 156, 18, 0.15);
    color: var(--warning);
}

.room-price {
    font-size: 18px;
    color: var(--dark);
    font-weight: 600;
}

.room-price span {
    font-size: 12px;
    color: var(--grey);
    font-weight: 400;
}

.room-lock-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 18px;
}

.room-lock-indicator.locked {
    color: var(--danger);
}

.room-lock-indicator.unlocked {
    color: var(--success);
}

/* Filters */
.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.filters select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 14px;
}

.btn-search {
    padding: 12px 20px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
}

/* Tables */
.table-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.data-table th {
    background: var(--light);
    color: var(--dark);
    font-weight: 600;
}

.data-table tr:hover {
    background: #f9f9f9;
}

.data-table .actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    padding: 6px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.btn-icon.primary {
    background: rgba(52, 152, 219, 0.15);
    color: var(--secondary);
}

.btn-icon.success {
    background: rgba(39, 174, 96, 0.15);
    color: var(--success);
}

.btn-icon.danger {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
}

.btn-icon.warning {
    background: rgba(243, 156, 18, 0.15);
    color: var(--warning);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: var(--white);
    padding: 5px;
    border-radius: var(--border-radius);
    width: fit-content;
}

.tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--border-radius);
    font-weight: 500;
    color: var(--grey);
    transition: all 0.3s;
}

.tab.active {
    background: var(--secondary);
    color: var(--white);
}

/* Modal Styles */
.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 700px;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--dark);
}

.modal-header h2 i {
    margin-right: 10px;
    color: var(--secondary);
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--grey);
    cursor: pointer;
}

.modal-body {
    padding: 25px;
}

/* Guest Search Box */
.guest-search-box {
    position: relative;
}

.guest-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.guest-search-results.show {
    display: block;
}

.guest-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.guest-result-item:hover {
    background: var(--light);
}

.selected-guest-info {
    margin-top: 15px;
    padding: 15px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: var(--border-radius);
    color: var(--success);
}

/* Price Display */
.price-display {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--light);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-size: 16px;
}

.price-display strong {
    color: var(--dark);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.toast {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

.toast i {
    font-size: 20px;
}

.toast.success i {
    color: var(--success);
}

.toast.error i {
    color: var(--danger);
}

.toast.warning i {
    color: var(--warning);
}

/* Booking Detail */
.booking-detail {
    text-align: center;
}

.booking-detail .key-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.key-card-code {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: monospace;
}

.btn-large {
    padding: 18px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 70px;
    }

    .sidebar-header span,
    .nav-item span,
    .user-info span {
        display: none;
    }

    .main-content {
        margin-left: 70px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }
}

/* NFC Styles */
.nfc-status {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
}

.nfc-status .nfc-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.nfc-status .nfc-icon i {
    color: #4CAF50;
}

.nfc-result {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.nfc-result.hidden {
    display: none;
}

.nfc-result .result-header {
    text-align: center;
    margin-bottom: 15px;
}

.nfc-result .result-header i {
    font-size: 48px;
    margin-bottom: 10px;
}

.nfc-result .result-header h3 {
    margin: 0;
}

.nfc-result .result-details {
    text-align: center;
}

.manual-entry {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.manual-entry h4 {
    margin-bottom: 10px;
}

.tag-id {
    background: #e8e8e8;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
}

.tag-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    text-transform: capitalize;
}

.tag-type.keycard {
    background: #e3f2fd;
    color: #1976d2;
}

.tag-type.room_access {
    background: #e8f5e9;
    color: #388e3c;
}

.nfc-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.nfc-indicator.active {
    background: #4CAF50;
    color: white;
}

.nfc-indicator:not(.active) {
    background: #ccc;
    color: #666;
}

.nfc-enabled {
    border: 2px solid #4CAF50 !important;
}

.nfc-status-badge {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.nfc-status-badge i {
    color: #4CAF50;
    margin-right: 5px;
}

.tag-detail-card {
    padding: 20px;
}

.tag-detail-card .tag-id-display {
    text-align: center;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tag-detail-card .tag-id-display code {
    font-size: 18px;
    color: #333;
}

.tag-detail-card .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.tag-detail-card .detail-row label {
    font-weight: 600;
    color: #666;
}

.key-card-preview {
    margin-top: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Room Configuration */
.room-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.room-config-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.room-config-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.room-config-card .config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.room-config-card .config-header .room-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.room-config-card .config-header .room-type {
    background: var(--light);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: var(--grey);
}

.room-config-card .config-details {
    margin-bottom: 15px;
}

.room-config-card .config-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.room-config-card .config-row .label {
    color: var(--grey);
    font-weight: 500;
}

.room-config-card .config-actions {
    display: flex;
    justify-content: flex-end;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Room Types - Professional Design */
.room-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

/* Empty State */
.room-types-grid:empty::after {
    content: 'No room types found. Click "Add Room Type" to create one.';
    display: block;
    text-align: center;
    padding: 40px;
    color: var(--grey);
    font-size: 1.1em;
    grid-column: 1 / -1;
}

.room-type-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    animation: slideUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.room-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.room-type-card.inactive {
    opacity: 0.7;
}

.room-type-card.inactive:hover {
    transform: none;
}

/* Card Header with Icon */
.room-type-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.room-type-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.room-type-icon.standard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.room-type-icon.deluxe {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.room-type-icon.suite {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.room-type-icon.family {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.room-type-icon.business {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.room-type-icon.presidential {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    color: white;
}

.room-type-title-area {
    flex: 1;
}

.room-type-title-area h3 {
    margin: 0 0 4px 0;
    color: var(--dark);
    font-size: 1.4em;
    font-weight: 700;
}

.room-type-category {
    font-size: 0.7em;
    color: var(--grey);
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Price Banner */
.room-type-price-banner {
    background: linear-gradient(135deg, var(--ghana-green) 0%, #004d2a 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.room-type-card.inactive .room-type-price-banner {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

.price-amount {
    font-size: 2.5em;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 0.85em;
    opacity: 0.9;
    margin-top: 4px;
}

/* Description */
.room-type-description {
    color: #6c757d;
    font-size: 0.95em;
    margin: 0;
    padding: 16px 20px;
    line-height: 1.5;
}

/* Details Section */
.room-type-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
    margin-bottom: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(52, 152, 219, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.detail-content {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75em;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1em;
    color: var(--dark);
    font-weight: 600;
}

/* Amenities Section */
.amenities-section {
    padding: 0 20px 15px;
}

.amenities-header {
    display: block;
    font-size: 0.75em;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.amenities-header i {
    margin-right: 6px;
    color: var(--success);
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.amenity-tag {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.amenity-tag.more {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

/* Actions */
.room-type-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.room-type-actions .btn-icon {
    padding: 10px 16px;
    font-size: 0.85em;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.room-type-actions .btn-icon:hover {
    transform: scale(1.05);
}

.room-type-actions .btn-icon i {
    margin-right: 6px;
}

/* Status Badge */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.status-badge.active {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.status-badge.inactive {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* User Management */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.role-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.role-header h3 {
    margin: 0;
    color: var(--dark);
    text-transform: capitalize;
}

.user-count {
    background: #e8f4fd;
    color: var(--secondary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
}

.role-description {
    color: var(--grey);
    font-size: 0.9em;
    margin-bottom: 15px;
}

.role-permissions strong {
    font-size: 0.9em;
    display: block;
    margin-bottom: 8px;
}

.permissions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.permission-tag {
    background: #f0f0f0;
    color: var(--dark);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    text-transform: capitalize;
}

.permission-tag.all {
    background: #4CAF50;
    color: white;
}

.role-badge {
    background: #e8f4fd;
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    text-transform: capitalize;
}

.role-badge.admin {
    background: #f44336;
    color: white;
}

.role-badge.manager {
    background: #FF9800;
    color: white;
}

.role-badge.receptionist {
    background: #9C27B0;
    color: white;
}