/**
 * Footer CSS
 * Contains styles specific to the application footer
 */

/* Footer styles */
.footer {
    min-height: var(--footer-height, 60px);
    padding: 10px;
    margin-top: 10px;
    background-color: var(--sidebar-background);
    color: var(--sidebar-text-color);
    border-top: 1px solid var(--border-color);
    transition: margin-left 0.3s ease, width 0.3s ease;
}

/* Footer links */
.footer a {
    color: var(--primary-color, #0d6efd);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: rgba(var(--primary-rgb, 13, 110, 253), 0.8);
    text-decoration: underline;
}

/* Footer content alignment */
.footer .text-center {
    text-align: center;
}

.footer .text-md-start {
    text-align: center;
}

.footer .text-md-end {
    text-align: center;
}

/* Dark mode footer */
[data-theme-mode="dark"] .footer,
.dark-mode .footer {
    background-color: var(--dark-card-bg, #2a3441);
    border-top-color: var(--dark-border, rgba(255, 255, 255, 0.125));
    color: var(--text-light, #f8f9fa);
}

/* Media queries for responsive footer */
@media (min-width: 768px) {
    .footer .text-md-start {
        text-align: left;
    }
    
    .footer .text-md-end {
        text-align: right;
    }
}

/* Footer positioning based on sidebar state */
html[data-toggled="close"] .footer {
    margin-left: 0;
    width: 100%;
    transition: margin-left 0.3s ease, width 0.3s ease;
}

html[data-toggled="open"] .footer {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    transition: margin-left 0.3s ease, width 0.3s ease;
}

/* Mobile footer styles */
@media (max-width: 992px) {
    .footer {
        margin-left: 0 !important;
        width: 100% !important;
        left: 0 !important;
    }
} 