/*--------------------------------------------------------------
# Footer Dashboard - Design Élégant & Professionnel
--------------------------------------------------------------*/

#footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3d5f9e 0%, #2c4a7c 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    padding: 35px 0 25px;
}

/* Footer Main Section */
.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f3f4f6;
}

/* Brand Section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.brand-logo {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3d5f9e 0%, #2c4a7c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(61, 95, 158, 0.2);
}

.brand-logo i {
    font-size: 1.5rem;
    color: #ffffff;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
}

/* Meta Section */
.footer-meta {
    flex: 0 0 auto;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    background: #f9fafb;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.meta-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3d5f9e 0%, #2c4a7c 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon i {
    font-size: 1rem;
    color: #ffffff;
}

.meta-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-size: 0.6875rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.meta-value {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 700;
    line-height: 1;
}

/* Footer Links */
.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-end;
}

.footer-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.25s ease;
    position: relative;
}

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

.footer-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #f9fafb;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.footer-link:hover {
    color: #3d5f9e;
}

.footer-link:hover::before {
    opacity: 1;
}

.link-divider {
    width: 1px;
    height: 16px;
    background: #e5e7eb;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    gap: 20px;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: #9ca3af;
    font-weight: 400;
}

.footer-copyright .separator {
    color: #d1d5db;
}

/* Tech Badges */
.footer-tech {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-text {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.tech-badge i {
    font-size: 0.875rem;
}

.tech-badge:hover {
    background: #3d5f9e;
    border-color: #3d5f9e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 95, 158, 0.25);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-main {
        gap: 30px;
    }
}

@media (max-width: 991.98px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .footer-links {
        justify-content: flex-start;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 767.98px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-content {
        padding: 25px 0 20px;
    }
    
    .footer-brand {
        gap: 12px;
    }
    
    .brand-logo {
        width: 42px;
        height: 42px;
    }
    
    .brand-logo i {
        font-size: 1.25rem;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .brand-tagline {
        font-size: 0.6875rem;
    }
    
    .meta-item {
        padding: 8px 14px;
        gap: 10px;
    }
    
    .meta-icon {
        width: 32px;
        height: 32px;
    }
    
    .meta-icon i {
        font-size: 0.875rem;
    }
    
    .meta-label {
        font-size: 0.625rem;
    }
    
    .meta-value {
        font-size: 0.8125rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .link-divider {
        height: 14px;
    }
    
    .footer-link {
        font-size: 0.8125rem;
        padding: 6px 10px;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }
    
    .tech-text {
        font-size: 0.6875rem;
    }
    
    .tech-badge {
        font-size: 0.6875rem;
        padding: 5px 10px;
        gap: 5px;
    }
    
    .tech-badge i {
        font-size: 0.8125rem;
    }
}

@media (max-width: 575.98px) {
    .footer-main {
        gap: 20px;
    }
    
    .footer-brand {
        width: 100%;
    }
    
    .footer-meta {
        width: 100%;
    }
    
    .meta-item {
        width: 100%;
    }
    
    .footer-links {
        width: 100%;
        justify-content: center;
    }
    
    .link-divider {
        display: none;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-copyright {
        width: 100%;
        justify-content: center;
    }
    
    .footer-tech {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    #footer {
        border-top: 1px solid #000;
        background: #fff;
    }
    
    #footer::before {
        display: none;
    }
    
    .footer-content {
        padding: 15px 0;
    }
    
    .meta-item,
    .footer-link,
    .tech-badge {
        border: 1px solid #000;
        background: transparent;
    }
    
    .meta-icon,
    .brand-logo {
        background: #000;
    }
    
    .footer-link:hover,
    .tech-badge:hover,
    .meta-item:hover {
        transform: none;
        box-shadow: none;
    }
}
