/* public_html/style/footer.css */
.site-footer {
    background-color: #2a2a2a; /* Slightly darker than main background */
    color: #aaa;
    padding: 20px 10px 0px 10px;
    font-size: 0.8em;
    border-top: 1px solid #444;
    text-align: center;
    font-family: Arial, sans-serif; /* Match body font */
}

.site-footer-auth {
    color: #aaa;
    padding: 20px 0px 0px 0px;
    font-size: 0.8em;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content-auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px; /* Vertical and horizontal gap */
}

.footer-links li {
    display: inline;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    position: relative;
    padding-bottom: 3px; /* Space for underline effect */
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-compliance,
.footer-contact {
    font-size: 0.9em;
    line-height: 1.4;
}

.footer-contact a {
    color: #8a93b1;
    text-decoration: underline;
    font-weight: 600;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center; /* Align items vertically */
        gap: 20px; /* Adjust gap */
    }

    .footer-content-auth {
        gap: 20px; /* Adjust gap */
    }
    .footer-links {
        gap: 15px; /* Slightly reduce gap */
        order: 1; /* Links first */
        flex-wrap: nowrap; /* Prevent wrapping on larger screens */
        justify-content: flex-start;
        margin: 0; /* Reset margin */
    }

    .footer-contact {
        order: 2; /* Contact second */
        text-align: right;
        white-space: nowrap;
        margin: 0; /* Reset margin */
    }

    .footer-compliance {
        order: 3; /* Copyright last */
        text-align: right;
        margin: 0; /* Reset margin */
        margin-left: auto; /* Push to the right */
    }

    .site-footer {
        background-color: #2a2a2a; /* Slightly darker than main background */
        font-size: 0.85em;
        padding: 20px 10px 20px 10px;
    }

    .site-footer-auth {
        font-size: 0.85em;
        padding: 20px 10px 0px 10px;
    }
}

/* Styling for the policy pages */
body.policy-page {
    background-color: #333; /* Ensure background matches */
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.policy-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #ccc;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.policy-container h1, .policy-container h2 {
    color: #fff;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    margin-top: 30px;
    font-weight: 600;
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
    font-size: 1.8em;
}

.policy-container h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
}


.policy-container p, .policy-container ul {
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.policy-container ul {
    padding-left: 25px;
}

.policy-container li {
    margin-bottom: 8px;
}

.policy-container a {
    color: #8a93b1;
    text-decoration: underline;
    transition: color 0.2s;
}

.policy-container a:hover {
    color: #a8b3d7;
    text-decoration: underline;
}

.policy-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    text-align: center;
}

.policy-nav a {
    margin: 0 10px;
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9em;
}

.policy-nav a:hover {
    color: #fff;
}

/* Minimalist back-to-top button */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgba(85, 85, 85, 0.7);
    color: white;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 0.3s, opacity 0.3s;
    backdrop-filter: blur(3px);
}

#backToTopBtn:hover {
    background-color: rgba(110, 110, 110, 0.9);
} 