/* 12-8-4 Column Layout System for Banyan Tree Village */

/* Main layout proportions */
.layout-main-content {
    /* 8 columns for main content */
}

.layout-sidebar {
    /* 4 columns for sidebar */
}

.layout-full-width {
    /* 12 columns for full width sections */
}

/* Consistent spacing */
.layout-container {
    margin-bottom: 2rem;
}

.layout-card {
    margin-bottom: 1.5rem;
}

/* Sticky sidebar positioning */
.layout-sidebar-sticky {
    position: sticky;
    top: 20px;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .layout-sidebar-sticky {
        position: static;
        top: auto;
    }
    
    /* On mobile, stack vertically */
    .layout-main-content,
    .layout-sidebar {
        order: 0 !important;
    }
}

/* Footer protection - ensure content doesn't overlap */
.layout-page-content {
    padding-bottom: 100px;
    margin-bottom: 80px;
}

/* Admin dashboard specific styling */
.admin-dashboard .row {
    margin-bottom: 2rem;
}

.admin-dashboard .card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.admin-dashboard .card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Standardized button spacing */
.layout-action-buttons {
    margin-top: 1rem;
}

.layout-action-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Consistent card header styling */
.layout-card-header {
    border-bottom: 1px solid rgba(0,0,0,0.125);
    font-weight: 600;
}

/* Standard list group styling */
.layout-list-group .list-group-item {
    border-left: 3px solid transparent;
    transition: border-color 0.3s ease;
}

.layout-list-group .list-group-item.active {
    border-left-color: var(--bs-primary);
}

/* Statistics display formatting */
.layout-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.layout-stat-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.layout-stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--bs-primary);
}

.layout-stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.25rem;
}