:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }

.btn {
    transition: all 0.3s ease;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.badge {
    padding: 0.5em 0.8em;
    font-weight: 500;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.features .card {
    border: none;
    transition: transform 0.3s;
}

    .features .card:hover {
        transform: translateY(-10px);
    }

.alert {
    border-radius: 8px;
}

footer {
    margin-top: auto;
    padding: 2rem 0;
    background-color: #f8f9fa;
}

/* Dashboard Cards */
.stat-card {
    border-left: 4px solid var(--primary-color);
}

    .stat-card h2 {
        font-size: 2.5rem;
        font-weight: 700;
    }

/* Invoice Styles */
.invoice-header {
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.invoice-total {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive Table */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }

    .table td, .table th {
        padding: 0.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* EstatePortal.Web/wwwroot/css/admin.css */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    min-height: 100vh;
    transition: all 0.3s;
}

    #sidebar.active {
        margin-left: -250px;
    }

    #sidebar .sidebar-header {
        background: #343a40;
        border-bottom: 1px solid #495057;
    }

    #sidebar ul.components {
        padding: 20px 0;
    }

    #sidebar ul li {
        padding: 10px 0;
    }

        #sidebar ul li a {
            padding: 15px;
            display: block;
            text-decoration: none;
            transition: all 0.3s;
        }

            #sidebar ul li a:hover {
                background: #495057;
            }

        #sidebar ul li.active > a {
            background: #495057;
            border-left: 3px solid #0d6efd;
        }

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    background: #f8f9fa;
}

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

        #sidebar.active {
            margin-left: 0;
        }
}

/* Dashboard Stats */
.stat-box {
    border-left: 4px solid;
    padding: 1.5rem;
}

    .stat-box.primary {
        border-left-color: #0d6efd;
    }

    .stat-box.success {
        border-left-color: #198754;
    }

    .stat-box.warning {
        border-left-color: #ffc107;
    }

    .stat-box.danger {
        border-left-color: #dc3545;
    }
