/* Custom Styles for Vijay Estate Agency */

:root {
    --primary-color: #0d6efd;
    --sidebar-width: 250px;
}

/* Dashboard Recent Activities Scroll Container */
.activity-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.activity-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.activity-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.activity-scroll-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.activity-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Sidebar Styles */
.sidebar {
    min-height: calc(100vh - 56px);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    padding-top: 20px !important;
}

.sidebar .nav-link {
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background-color: #e9ecef;
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.sidebar .nav-link i {
    width: 20px;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
}

/* Table Styles */
.table {
    font-size: 0.9rem;
}

.table th {
    font-weight: 600;
    border-top: none;
}

/* Badge Styles */
.badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group-text {
    background-color: #e9ecef;
}

/* Login Page */
.min-vh-100 {
    min-height: 100vh;
}

/* Stats Cards */
.card.text-white {
    border-radius: 10px;
}

.card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
}

/* Activity List */
.list-group-item {
    border-left: none;
    border-right: none;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
}

/* Button Styles */
.btn {
    border-radius: 6px;
    font-weight: 500;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

