/* Savannah Game Lodge - Custom Styles */
:root {
    --primary-color: #2c5530;
    --secondary-color: #8b4513;
    --accent-color: #d4a574;
    --light-bg: #f4f6f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    font-size: 14px;
}

/* Sidebar */
#sidebar-wrapper {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    width: 250px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
}

.sidebar-heading {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-color) !important;
    border-bottom: 1px solid #444;
}

.list-group-item {
    background-color: transparent !important;
    border: none !important;
    padding: 12px 20px;
    transition: all 0.3s;
}

.list-group-item:hover {
    background-color: #495057 !important;
    padding-left: 25px;
}

.list-group-item.active {
    background-color: var(--primary-color) !important;
}

/* Page Content */
#page-content-wrapper {
    margin-left: 250px;
    padding: 30px;
    width: calc(100% - 250px);
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* Tables */
.table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background-color: var(--primary-color);
    color: #fff;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1e3d22;
    border-color: #1e3d22;
}

.btn-success {
    background-color: #28a745;
}

.btn-warning {
    background-color: #ffc107;
    color: #000;
}

/* Badges */
.badge {
    padding: 5px 10px;
    font-weight: 500;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 85, 48, 0.25);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
}

/* Dashboard Stats */
.stat-card {
    border-left: 4px solid var(--primary-color);
}

.stat-card.success {
    border-left-color: #28a745;
}

.stat-card.warning {
    border-left-color: #ffc107;
}

.stat-card.danger {
    border-left-color: #dc3545;
}

/* Print Styles */
@media print {
    #sidebar-wrapper, .no-print {
        display: none !important;
    }
    #page-content-wrapper {
        margin-left: 0;
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
    }
    #page-content-wrapper {
        margin-left: 0;
        width: 100%;
    }
}

/* Loading Spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-primary-custom { color: var(--primary-color); }
.bg-primary-custom { background-color: var(--primary-color); }