/* src/main/resources/static/css/components/public-footer.css */

/* ===== PUBLIC FOOTER - COMPACT ===== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e9eef2;
    padding: 12px 32px;  /* Header jaisa compact padding */
    margin-top: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 12px;
}

/* Logo - EXACT header jaisa compact */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;  /* Header jaisa */
    text-decoration: none;
}

.footer-logo-icon {
    width: 28px;  /* Header jaisa - 28px */
    height: 28px; /* Header jaisa - 28px */
    background: #0f172a;
    color: white;
    border-radius: 6px; /* Header jaisa */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px; /* Header jaisa */
}

.footer-logo-text {
    font-weight: 600;
    font-size: 14px; /* Header jaisa */
    color: #0f172a;
}

/* Footer links - compact */
.footer-links {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced gap */
    flex-wrap: wrap;
}

.footer-links a {
    color: #5b6778;
    text-decoration: none;
    font-size: 12px; /* Smaller */
    font-weight: 500;
    padding: 4px 8px; /* Added padding for better click */
    border-radius: 4px;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-links a:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Career badge - compact */
.career-badge {
    background: #ef4444;
    color: white;
    font-size: 8px; /* Smaller */
    font-weight: 600;
    padding: 2px 4px; /* Smaller */
    border-radius: 20px;
    margin-left: 2px;
    text-transform: uppercase;
}

/* Social icons - compact */
.social-link {
    width: 28px; /* Smaller */
    height: 28px; /* Smaller */
    background: #f1f5f9;
    border-radius: 6px; /* Square like header */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: all 0.15s;
    font-size: 12px; /* Smaller */
}

.social-link:hover {
    background: #0f172a;
    color: white;
}

/* Footer bottom - compact */
.footer-bottom {
    display: flex;
    align-items: center;
    gap: 8px; /* Reduced */
    color: #94a3b8;
    font-size: 11px; /* Smaller */
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
    padding: 2px 4px;
}

.footer-bottom a:hover {
    color: #2563eb;
}

.footer-bottom .separator {
    color: #e2e8f0;
    font-size: 10px;
}

.heart {
    color: #ef4444;
    animation: heartbeat 1.5s ease infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.version {
    background: #f1f5f9;
    padding: 2px 6px; /* Smaller */
    border-radius: 20px;
    font-size: 10px; /* Smaller */
    font-weight: 500;
    color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 10px 16px; /* Header jaisa mobile padding */
    }
    
    .footer-links {
        gap: 4px;
    }
    
    .footer-bottom {
        gap: 4px;
    }
}