/* Colors */
:root {
    --primary: #8B2E2E;
    --secondary: #A9443E;
    --accent: #C46B4E;
    --background: #F8F5F2;
    --card: #FFFFFF;
    --text: #2B2B2B;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--text);
    margin-bottom: 70px; /* Space for bottom nav */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.text-primary-custom { color: var(--primary); }
.text-secondary-custom { color: var(--secondary); }
.bg-primary-custom { background-color: var(--primary); color: white; }
.bg-secondary-custom { background-color: var(--secondary); color: white; }

.btn-primary-custom {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    transition: 0.3s;
}
.btn-primary-custom:hover {
    background-color: var(--secondary);
    color: white;
}

/* Card Styling */
.card-modern {
    background-color: var(--card);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.bottom-nav-item {
    text-align: center;
    color: #888;
    text-decoration: none;
    font-size: 12px;
    flex: 1;
    transition: 0.3s;
}
.bottom-nav-item i {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}
.bottom-nav-item.active, .bottom-nav-item:hover {
    color: var(--primary);
}

/* Layout Utilities */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 60px 20px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    text-align: center;
}

/* Image rounded */
.img-rounded {
    border-radius: 16px;
}

/* Small Box Widgets (Dashboard) */
.small-box {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: block;
    margin-bottom: 20px;
    position: relative;
    padding: 20px;
    color: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.small-box:hover {
    transform: translateY(-5px);
}
.small-box > .inner {
    padding: 10px;
}
.small-box h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    white-space: nowrap;
    padding: 0;
}
.small-box p {
    font-size: 1rem;
    margin-bottom: 0;
}
.small-box .icon {
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 4rem;
    transition: transform 0.3s linear;
}
.small-box:hover .icon {
    transform: scale(1.1);
}
.small-box-footer {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.8);
    display: block;
    padding: 8px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}
.small-box-footer:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
}

/* Custom BG Colors for Widgets */
.bg-orange-custom { background-color: #fd7e14 !important; }
.bg-green-custom { background-color: #198754 !important; }
.bg-blue-custom { background-color: #0d6efd !important; }
.bg-red-custom { background-color: #dc3545 !important; }
.bg-cyan-custom { background-color: #0dcaf0 !important; color: #000; }
.bg-cyan-custom .icon { color: rgba(0, 0, 0, 0.15); }
.bg-cyan-custom .small-box-footer { color: rgba(0, 0, 0, 0.7); background: rgba(0, 0, 0, 0.05); }
.bg-purple-custom { background-color: #6f42c1 !important; }
