:root {
    --primary-color: #C48219; /* Gold-like color from the text */
    --primary-dark: #8B5A13; /* Darker shade of brown/gold */
    --primary-light: #E5A823; /* Brighter gold/yellow */
    --accent-color: #F4C842; /* Yellow highlight */
    --accent-secondary: #F4E141; /* Lighter yellow */
    --text-light: #FFF8E1; /* Soft cream */
    --text-dark: #4A2E0F; /* Dark brown */
    
    --water-blue: #1E74A6; /* Deep blue for water */
    --earth-brown: #5C3B12; /* Rich earthy brown */

    --primary-color: rgb(196, 130, 25); /* Golden tone from the text */
--primary-dark: rgb(139, 90, 19); /* Dark brownish-gold */
--secondary-color: rgb(244, 200, 66); /* Yellow accent */
--light-color: rgb(229, 168, 35); /* Bright gold */
--dark-color: rgb(92, 59, 18); /* Deep earthy brown */
--border-radius: 12px;
--box-shadow: 0 10px 30px rgba(139, 90, 19, 0.1); /* Subtle brown shadow */
--transition: all 0.3s ease;

--primary-hover: rgb(196, 130, 25); /* Golden-brown from the text */
--accent-color: rgb(244, 200, 66); /* Warm yellow accent */
--text-color: rgb(74, 46, 15); /* Deep brown for readability */
--text-muted: rgb(139, 90, 19); /* Darker muted brown */
--bg-light: rgb(255, 248, 225); /* Soft cream for background */
--card-bg: rgba(196, 130, 25, 0.9); /* Golden-brown for card background */
--input-bg: rgba(139, 90, 19, 0.6); /* Darker earthy brown for input background */
--border-color: rgba(103, 66, 25, 0.33); /* Muted brown for subtle borders */
--shadow-sm: 0 1px 3px rgba(92, 59, 18, 0.1);
--shadow-md: 0 4px 6px -1px rgba(92, 59, 18, 0.1), 0 2px 4px -1px rgba(92, 59, 18, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(92, 59, 18, 0.1), 0 4px 6px -2px rgba(92, 59, 18, 0.05);
--transition: all 0.4s ease;
 --bg-secondary: rgb(10, 80, 184);
}


/* Update main container to have a subtle texture reminiscent of natural materials */
main > .container, main > .container-fluid {
    padding: 2px;
    background-color: rgba(46, 139, 87, 0.05); /* Very subtle green tint */
    background-image: 
        linear-gradient(45deg, rgba(139, 195, 74, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(139, 195, 74, 0.05) 25%, transparent 25%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Footer with nature-inspired gradient and texture */
.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-light);
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--accent-color);
}

/* Update footer background with leaf-like pattern */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%234CAF50' d='M0 0 Q50 50, 100 0 L100 100 L0 100 Z' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
}

/* Top Banner with eco-friendly styling */

/* Social links with nature-inspired hover effects */
.social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.1) rotate(5deg);
    box-shadow: 0 2px 10px rgba(46, 139, 87, 0.3);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Buttons with eco-friendly styling */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(139, 195, 74, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn-outline-primary:hover::before {
    left: 100%;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(46, 139, 87, 0.2);
}

/* Additional eco-themed utilities */
.text-eco {
    color: var(--primary-color) !important;
}

.bg-eco {
    background-color: var(--primary-color) !important;
    color: var(--text-light);
}

/* Hover effects with natural transitions */
a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Subtle animations and interactions */
@keyframes leaf-hover {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .top-banner {
        text-align: center;
    }
    
    .contact-info, .social-links {
        justify-content: center;
    }
}

/* Accessibility and readability enhancements */
.not-set {
    color: #e57373; /* Softer error color */
    font-style: italic;
}

/* Form elements with eco-friendly styling */
.form-control {
    border-color: var(--primary-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 195, 74, 0.25);
}

/* Error and hint styling with natural color palette */
.hint-block {
    color: var(--primary-dark);
    opacity: 0.7;
}

.error-summary {
    color: #d32f2f;
    background: rgba(211, 47, 47, 0.05);
    border-left: 3px solid #d32f2f;
}









main > .container, main > .container-fluid
{
    padding: 2px;
}

.footer {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-light);
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%232e7d32' %3E%3Cpath d='M25 50h50v50H25z'/%3E%3Cpath d='M0 50h25v50H0z' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer a.text-muted:hover {
    color: var(--accent-color) !important;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-color) !important;
}

.footer .input-group {
    margin-bottom: 1rem;
}

.footer .form-control {
    border-radius: 0.25rem 0 0 0.25rem;
    border: none;
    padding: 0.75rem;
}

.footer .btn-primary {
    border-radius: 0 0.25rem 0.25rem 0;
    border: none;
    padding: 0.75rem 1.25rem;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #eb0a07;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.navbar form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .navbar form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.navbar form > button.logout:focus,
.navbar form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.navbar form > button.logout:focus {
    outline: none;
}


.contact-info {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-info{
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
    
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: flex-end;
}

.social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .social-links {
        justify-content: center;
        margin-top: 0.75rem;
    }
    
    .contact-info {
        justify-content: center;
        margin-bottom: 0.5rem;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .contact-info a {
        font-size: 0.85rem;
    }
}

.header {
    background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-light) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    color: var(--text-light) !important;
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--text-light) !important;
    opacity: 1;
    transform: translateY(-1px);
}

.btn-outline-primary:hover {
    background-color: var(--text-light);
    border-color: var(--text-light);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-danger {
    color: var(--text-light);
    border-color: var(--text-light);
    opacity: 0.9;
    transition: all 0.3s ease;
}
.btn-outline-danger:hover {
    background-color: var(--text-light);
    border-color: var(--text-light);
    color: var(--primary-dark);
    opacity: 1;
    transform: translateY(-1px);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-dark);
}




