/* Global Footer Styles */

.global-footer {
    background-color: #f8f9fa;
    padding: 2rem 0 1rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

.global-footer-mini {
    background-color: #f8f9fa;
    padding: 1rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

.global-footer-mini a {
  display: inline-block;
  margin: 4px;
}

.footer-container {
    max-width: 1224px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-grid.items-center {
    align-items: center;
}

.footer-column {
    grid-column: span 6;
}

.footer-column.full {
    grid-column: span 12;
}

.footer-column.logo {
    grid-column: span 12;
    order: 2;
    margin-top: 0.5rem;
    text-align: center;
}

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

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list-item {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-link:hover {
    color: #007bff;
}

.footer-logo {
    height: auto;
    object-fit: contain;
    max-width: 100px;
}

.badge {
     border: 1px solid #6f2cba;
    color: #6f2cba;
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 16px;
    height: 16px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #e6e6e6;
    margin: 0.5rem 0;
}

.bottom-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.bottom-left {
    grid-column: span 12;
    text-align: center;
}

.bottom-center {
    grid-column: span 12;
    margin-top: 0.25rem;
    text-align: center;
}

.bottom-right {
    grid-column: span 12;
    margin-top: 0.25rem;
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.copyright:hover {
    color: #007bff;
}

/* Postman Popup Styles */
.postman-popup {
    position: absolute !important;
    bottom: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: white !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
    min-width: 200px !important;
    z-index: 1000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
    display: block !important;
}

.postman-popup.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.popup-content {
    padding: 16px !important;
    text-align: left !important;
}

.popup-header {
    margin: 0 0 12px 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    border-bottom: 1px solid #e6e6e6 !important;
    padding-bottom: 8px !important;
    text-align: left !important;
}

.popup-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

.popup-links li {
    margin: 0 !important;
    text-align: left !important;
}

.popup-links a {
    display: block !important;
    padding: 8px 0 !important;
    color: #666 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    transition: color 0.2s ease !important;
    text-align: left !important;
}

.popup-links a:hover {
    color: #007bff !important;
}

/* Position relative for popup container */
.bottom-center {
    position: relative !important;
}

.download-link {
    font-size: 0.875rem;
    color: #007bff;
    text-decoration: none;
}

.download-link:hover {
    color: #0056b3;
}

.privacy-icon {
    margin-left: 0.25rem;
}

/* Medium screens */
@media (min-width: 768px) {
    .footer-column {
        grid-column: span 4;
    }

    .footer-column.logo {
        order: 0;
        text-align: left;
        margin-top: 0;
    }

    .bottom-left {
        grid-column: span 4;
        text-align: left;
    }

    .bottom-center {
        grid-column: span 4;
        margin-top: 0;
        text-align: center;
    }

    .bottom-right {
        grid-column: span 4;
        margin-top: 0;
        text-align: right;
    }

    .social-links {
        justify-content: flex-end;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .footer-grid {
        gap: 1rem;
        margin-bottom: 0;
    }

    .footer-column {
        grid-column: span 2;
        margin-bottom: 0;
    }

    .footer-column.logo {
        grid-column: span 2;
        order: -1;
    }

    .bottom-left {
        grid-column: span 4;
        text-align: left;
    }

    .bottom-center {
        grid-column: span 4;
        text-align: center;
    }

    .bottom-right {
        grid-column: span 4;
        text-align: right;
    }
}