:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --success-color: #4cc9f0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fb;
    color: #333;
    min-height: 100vh;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.auth-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-header h2 {
    font-weight: 600;
    margin-bottom: 5px;
}

.auth-header p {
    opacity: 0.9;
    font-size: 14px;
}

.auth-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e1e5eb;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.25);
}

.btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.auth-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Dashboard Layout */
.wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar.collapsed {
    width: var(--sidebar-collapsed-width);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo span {
    margin-left: 10px;
}

.collapsed .logo span {
    display: none;
}

.toggle-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 18px;
    cursor: pointer;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #555;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.menu-item:hover, .menu-item.active {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.menu-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    margin-right: 10px;
}

.collapsed .menu-item span {
    display: none;
}

.menu-item.active {
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: all 0.3s;
}

.sidebar.collapsed + .main-content {
    margin-left: var(--sidebar-collapsed-width);
}

.top-navbar {
    background: white;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-details h6 {
    margin: 0;
    font-weight: 600;
}

.user-details small {
    color: #666;
    font-size: 12px;
}

.content-area {
    padding: 25px;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 25px;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.bg-primary-light {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.bg-success-light {
    background: rgba(76, 201, 240, 0.1);
    color: var(--success-color);
}

.bg-warning-light {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.bg-danger-light {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.card p {
    color: #666;
    margin: 0;
}

/* Recent Activity */
.activity-list {
    list-style: none;
    padding: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
}

.activity-content {
    flex: 1;
}

.activity-content h6 {
    margin: 0;
    font-size: 14px;
}

.activity-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.activity-time {
    font-size: 12px;
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
}

/* Alert Messages */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}
/* Invoice specific styles */
.invoice-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-paid { background: #d4edda; color: #155724; }
.status-unpaid { background: #f8d7da; color: #721c24; }
.status-partial { background: #fff3cd; color: #856404; }
.status-overdue { background: #721c24; color: white; }

.amount-cell {
    font-weight: 600;
    font-size: 14px;
}

.balance-cell {
    font-weight: 700;
}

.balance-positive {
    color: #28a745;
}

.balance-negative {
    color: #dc3545;
}

.modal-xl {
    max-width: 90%;
}

/* Form section styling */
.form-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.form-section h5 {
    color: #4361ee;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.instructions-box {
    background: #f8f9ff;
    border-left: 4px solid #4361ee;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.instructions-box h6 {
    color: #4361ee;
    margin-bottom: 10px;
}

.instructions-box ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.instructions-box li {
    margin-bottom: 5px;
}

.instructions-box li:last-child {
    margin-bottom: 0;
}
/* Submenu Styles */
.menu-item-parent {
    position: relative;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(67, 97, 238, 0.05);
}

.submenu.show {
    max-height: 500px;
}

.submenu-item {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 50px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.submenu-item:hover,
.submenu-item.active {
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.submenu-item i {
    font-size: 6px;
    margin-right: 10px;
}

.submenu-toggle {
    font-size: 12px;
    transition: transform 0.3s;
    margin-left: auto;
}

.menu-item-parent.active .submenu-toggle {
    transform: rotate(180deg);
}

/* Sidebar Stats */
.sidebar-stats {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.stats-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.stats-item i {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.stats-info {
    flex: 1;
}

.stats-info small {
    display: block;
    font-size: 12px;
    color: #666;
}

.stats-info strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

/* Collapsed Sidebar */
.sidebar.collapsed .submenu {
    display: none;
}

.sidebar.collapsed .submenu-toggle {
    display: none;
}

.sidebar.collapsed .stats-item {
    justify-content: center;
}

.sidebar.collapsed .stats-info {
    display: none;
}

/* Card border-left colors */
.border-left-primary {
    border-left: 4px solid #4361ee !important;
}

.border-left-success {
    border-left: 4px solid #28a745 !important;
}

.border-left-info {
    border-left: 4px solid #17a2b8 !important;
}

.border-left-warning {
    border-left: 4px solid #ffc107 !important;
}

/* Dashboard specific */
.card-icon.bg-primary-light {
    background: rgba(67, 97, 238, 0.1) !important;
    color: #4361ee !important;
}

.card-icon.bg-success-light {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}

.card-icon.bg-info-light {
    background: rgba(23, 162, 184, 0.1) !important;
    color: #17a2b8 !important;
}

.card-icon.bg-warning-light {
    background: rgba(255, 193, 7, 0.1) !important;
    color: #ffc107 !important;
}
/* Invoice Management Styles */
.invoice-management-page .page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.invoice-management-page .page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.invoice-management-page .page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.invoice-management-page .page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
}

.invoice-management-page .page-header .breadcrumb-item.active {
    color: white;
}

.invoice-management-page .card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.invoice-management-page .card:hover {
    transform: translateY(-5px);
}

.invoice-management-page .card-header {
    background: white;
    border-bottom: 2px solid #f0f2f5;
    border-radius: 10px 10px 0 0 !important;
    padding: 20px;
}

.invoice-management-page .card-body {
    padding: 25px;
}

.invoice-management-page .table {
    margin-bottom: 0;
}

.invoice-management-page .table th {
    font-weight: 600;
    border-top: none;
    color: #495057;
}

.invoice-management-page .table td {
    vertical-align: middle;
    border-color: #f0f2f5;
}

.invoice-management-page .badge {
    padding: 6px 12px;
    font-weight: 500;
}

.invoice-management-page .btn-group-sm > .btn {
    padding: 5px 10px;
}

/* Invoice Status Badges */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-paid {
    background-color: #d1fae5;
    color: #065f46;
}

.status-unpaid {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-partial {
    background-color: #fef3c7;
    color: #92400e;
}

.status-overdue {
    background-color: #fecaca;
    color: #dc2626;
}

.status-pending {
    background-color: #f3f4f6;
    color: #374151;
}

/* Action Buttons */
.action-buttons .btn {
    margin-right: 5px;
    margin-bottom: 5px;
}

.action-buttons .btn:last-child {
    margin-right: 0;
}

/* Invoice Amount Styles */
.invoice-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.invoice-amount.paid {
    color: #10b981;
}

.invoice-amount.unpaid {
    color: #ef4444;
}

.invoice-amount.partial {
    color: #f59e0b;
}

/* Filter Section */
.filter-section {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.filter-section .form-label {
    font-weight: 600;
    color: #475569;
}

/* Pagination Custom */
.pagination-custom .page-link {
    border: none;
    color: #64748b;
    margin: 0 5px;
    border-radius: 8px;
}

.pagination-custom .page-item.active .page-link {
    background: #4f46e5;
    color: white;
}

.pagination-custom .page-link:hover {
    background: #f1f5f9;
    color: #4f46e5;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .invoice-card {
        border: 1px solid #000 !important;
    }
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table-responsive {
        border: none;
    }
    
    .invoice-management-page .action-buttons {
        flex-wrap: wrap;
    }
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    color: #64748b;
    font-size: 0.9rem;
}

/* Modal Enhancements */
.invoice-modal .modal-dialog {
    max-width: 800px;
}

.invoice-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Tabs Navigation */
.invoice-tabs .nav-tabs {
    border-bottom: 2px solid #e2e8f0;
}

.invoice-tabs .nav-tabs .nav-link {
    border: none;
    color: #64748b;
    font-weight: 500;
    padding: 10px 20px;
    margin-right: 5px;
}

.invoice-tabs .nav-tabs .nav-link.active {
    color: #4f46e5;
    background: transparent;
    border-bottom: 2px solid #4f46e5;
}

/* Alert Custom */
.alert-custom {
    border-radius: 10px;
    border-left: 4px solid;
}

.alert-custom.alert-info {
    border-left-color: #3b82f6;
}

.alert-custom.alert-warning {
    border-left-color: #f59e0b;
}

.alert-custom.alert-success {
    border-left-color: #10b981;
}

.alert-custom.alert-danger {
    border-left-color: #ef4444;
}
/* Properties Management Styles */
.properties-management-page .page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.properties-management-page .page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.properties-management-page .property-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.properties-management-page .property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.properties-management-page .property-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.properties-management-page .property-card .card-body {
    padding: 25px;
}

.properties-management-page .property-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3748;
}

.properties-management-page .property-card .property-code {
    font-size: 0.85rem;
    color: #718096;
    background: #f7fafc;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
}

.properties-management-page .property-card .property-details {
    margin: 15px 0;
}

.properties-management-page .property-card .property-details .detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: #4a5568;
}

.properties-management-page .property-card .property-details .detail-item i {
    width: 20px;
    margin-right: 10px;
    color: #667eea;
}

.properties-management-page .property-card .status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.properties-management-page .property-card .status-active {
    background-color: #d1fae5;
    color: #065f46;
}

.properties-management-page .property-card .status-inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

.properties-management-page .property-card .status-maintenance {
    background-color: #fef3c7;
    color: #92400e;
}

.properties-management-page .property-card .card-footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 20px 25px;
}

/* Property Type Badges */
.property-type-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-type-badge.pg {
    background: #e0f2fe;
    color: #0369a1;
}

.property-type-badge.hostel {
    background: #f0f9ff;
    color: #0c4a6e;
}

.property-type-badge.apartment {
    background: #dcfce7;
    color: #166534;
}

/* Property Stats */
.property-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.property-stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.property-stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #4f46e5;
}

.property-stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2d3748;
}

.property-stat-card .stat-label {
    color: #718096;
    font-size: 0.9rem;
}

/* Property Form Styles */
.property-form .form-section {
    background: #f8fafc;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.property-form .form-section h5 {
    color: #4f46e5;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4f46e5;
}

.property-form .amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.property-form .amenity-tag {
    background: #4f46e5;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-form .amenity-tag .remove-tag {
    cursor: pointer;
    font-size: 0.7rem;
}

.property-form .image-upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    background: #f7fafc;
    cursor: pointer;
    transition: all 0.3s;
}

.property-form .image-upload-area:hover {
    border-color: #4f46e5;
    background: #edf2f7;
}

.property-form .image-upload-area i {
    font-size: 3rem;
    color: #a0aec0;
    margin-bottom: 15px;
}

.property-form .image-upload-area.dragover {
    border-color: #4f46e5;
    background: #e6e8ff;
}

.property-form .uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.property-form .uploaded-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.property-form .uploaded-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.property-form .uploaded-image .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Property Details Page */
.property-details-page .property-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.property-details-page .property-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.property-details-page .property-address {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.property-details-page .property-tags {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.property-details-page .property-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.property-details-page .property-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.property-details-page .property-gallery img:hover {
    transform: scale(1.05);
}

/* Room/Bed Management */
.room-management .room-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #4f46e5;
}

.room-management .room-card h6 {
    margin-bottom: 15px;
    color: #2d3748;
}

.room-management .bed-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.room-management .bed-item {
    display: flex;
    align-items: center;
    background: #f7fafc;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.room-management .bed-item.occupied {
    background: #fed7d7;
    color: #c53030;
}

.room-management .bed-item.available {
    background: #c6f6d5;
    color: #22543d;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .properties-management-page .property-card .card-img-top {
        height: 150px;
    }
}

/* Loading Animation for Properties */
.loading-properties {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-properties .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state h5 {
    color: #718096;
    margin-bottom: 10px;
}

.empty-state p {
    color: #a0aec0;
    margin-bottom: 25px;
}

/* Property Filters */
.property-filters {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.property-filters .filter-group {
    margin-bottom: 15px;
}

.property-filters .filter-group:last-child {
    margin-bottom: 0;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.quick-actions .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .property-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
/* Property Reports Specific Styles */
.reports-page .content-area {
    padding: 20px;
}

.report-card {
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.report-card .card-header {
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
    border: none;
}

.property-type-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-type-badge.pg {
    background-color: #e3f2fd;
    color: #1976d2;
}

.property-type-badge.hostel {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.property-type-badge.apartment {
    background-color: #e8f5e9;
    color: #388e3c;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.status-badge.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge.status-maintenance {
    background-color: #fff3cd;
    color: #856404;
}

.metric-card {
    text-align: center;
    padding: 25px 15px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.metric-card .stat-icon {
    font-size: 2.5rem;
    color: #6a11cb;
    margin-bottom: 15px;
}

.metric-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2575fc;
    margin-bottom: 5px;
}

.metric-card .stat-label {
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.progress-thin {
    height: 6px;
    border-radius: 3px;
    background-color: #e9ecef;
}

.date-range-picker {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.report-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-top: none;
    border-bottom: 2px solid #dee2e6;
}

.report-table tbody tr:hover {
    background-color: rgba(37, 117, 252, 0.05);
}

.export-buttons .btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
}

@media print {
    .sidebar, .top-navbar, .page-header .btn-group, .export-buttons, 
    .date-range-picker, .quick-actions, .card-header .dropdown {
        display: none !important;
    }
    
    .content-area {
        padding: 0 !important;
    }
    
    .report-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}
/* Card icon styles */
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bg-primary-light {
    background-color: rgba(67, 97, 238, 0.1);
}

.bg-success-light {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-info-light {
    background-color: rgba(23, 162, 184, 0.1);
}

.bg-warning-light {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Activity icon styles */
.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card styles */
.card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-sm {
    border: 1px solid #dee2e6;
}

/* User avatar */
.user-avatar, .staff-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}
.staff-avatar-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4361ee, #3a0ca3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid #4361ee;
}