/* public/assets/css/style.css */

/* --- General & Font Styles --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa; /* Default light background */
}

/* --- Admin Layout Styles --- */
.admin-body {
    background-color: #F7F9FC; /* New light background for the main content area */
}

.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 260px;
    min-height: 100vh;
    background-color: #18212F; /* New dark sidebar color */
    color: #ecf0f1; /* Light text for sidebar */
    padding: 1rem;
    transition: width 0.3s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem; /* Adjusted font size */
    color: #ffffff; /* White color for brand name */
    text-decoration: none;
    font-weight: 600;
}

.sidebar-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #95a5a6;
    padding: 0 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.sidebar-wrapper .nav-link {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #bdc3c7; /* Lighter grey for links */
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar-wrapper .nav-link .bi {
    font-size: 1.1rem;
}

.sidebar-wrapper .nav-link.active {
    background-color: #3498db; /* Bright blue for active link background */
    color: #ffffff; /* White for active link text/icon */
    font-weight: 600;
}

.sidebar-wrapper .nav-link:not(.active):hover {
    background-color: #34495e;
    color: #ffffff;
}

.main-content-wrapper {
    flex-grow: 1;
    width: calc(100% - 260px);
    display: flex;
    flex-direction: column;
}

.top-navbar {
    background-color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* --- New Solid Dashboard Card Styles --- */
.stat-card {
    border: none;
    border-radius: 0.5rem; /* Less rounded corners */
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .stat-icon {
    font-size: 3.5rem;
    position: absolute;
    right: 15px;
    bottom: 10px;
    opacity: 0.2;
}

.stat-card .stat-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-card .stat-value {
    font-size: 2.25rem;
    font-weight: 700;
}

.card-footer-link {
    background-color: rgba(0,0,0,0.15);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    display: block;
    text-align: center;
    transition: background-color 0.2s ease;
}

.card-footer-link:hover {
    background-color: rgba(0,0,0,0.25);
    color: #ffffff;
}


/* Solid Card Colors */
.card-blue { background-color: #3498db; }
.card-green { background-color: #2ecc71; }
.card-cyan { background-color: #1abc9c; }
.card-yellow { background-color: #f1c40f; }
.card-red { background-color: #e74c3c; }

/* --- Settings Page List Styles (Updated) --- */
.settings-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid #e9ecef; /* Divider Line */
}

.settings-list-item:last-child {
    border-bottom: none; /* Aakhri item ke neechay line na ho */
}

.item-info {
    display: flex;
    align-items: center;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
/* Naya Style: Client list ke table ka font chota karne ke liye */
.client-table {
    font-size: 0.9rem; /* Aap is value ko apni zaroorat ke mutabiq tabdeel kar sakte hain */
}