/* Footer Styles */
.app-footer {
    background-color: #1f2937;
    color: #e5e7eb;
    border-top: 1px solid #374151;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.footer-description {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 300px;
}

.footer-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link:hover {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-bottom {
    background-color: #111827;
    border-top: 1px solid #374151;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-version {
    color: #4b5563;
    font-size: 0.75rem;
    font-family: monospace;
}

/* Ensure footer sticks to bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}



/* Adjust footer for auth pages */
body:has(.auth-container) .app-footer {
    margin-top: auto;
}

/* For landing pages */
body:not(:has(.main-content)):not(:has(.auth-container)) {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}