/* 
   --------------------------------------------------
   MODERN FOOTER STYLES
   --------------------------------------------------
*/

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 40px; /* Fixed concise height */
    background-color: var(--footer-bg, #151521); /* Match sidebar/navbar dark theme */
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle highlight */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1); /* Very light 3D shadow */
    padding: 0 1.5rem;
    z-index: 1020; /* Below navbar/sidebar dropdowns */
    display: flex;
    align-items: center;
    font-size: var(--footer-font-size, 0.85rem);
    transition: all 0.3s ease;
    font-family: var(--footer-font, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Copyright Text */
.footer-copyright {
    color: var(--footer-text, #7e8299);
    font-weight: 500;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-links a {
    color: var(--footer-text, #a1a5b7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #3699ff; /* Accent color */
}

/* Adjust main content to prevent footer overlap */
.main-content {
    margin-bottom: 40px; /* Match footer height */
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        height: auto;
        padding: 0.75rem 1.5rem;
        position: relative; /* Unfix on mobile if content is long */
    }
    
    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-links {
        gap: 1rem;
        justify-content: center;
    }
    
    .main-content {
        margin-bottom: 0;
    }
}

/* Dark mode overrides (Ensure consistency since we are forcing dark theme) */
[data-bs-theme="dark"] .footer {
    background-color: #1e1e2d;
    /* border-top-color: #2b2b40; */
}

[data-bs-theme="dark"] .footer-copyright,
[data-bs-theme="dark"] .footer-links a {
    color: #7e8299;
}

[data-bs-theme="dark"] .footer-links a:hover {
    color: #3699ff;
}
