/* ============================================================
   STANDALONE FOOTER CSS
   Prefix: fst- (Footer STandalone)
   Purpose: Sticky footer with ZERO conflicts
   
   ALL classes use fst- prefix to prevent conflicts with other CSS
   ============================================================ */

/* ===== PAGE LAYOUT FOUNDATION ===== */
/* Ensure footer sticks to bottom */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content must grow to push footer down */
main,
#app,
.content,
.page-wrapper,
.content-body {
    flex: 1 0 auto;
}

/* ===== FOOTER CONTAINER ===== */
.fst-footer {
    margin-top: auto; /* Push to bottom */
    width: 100%;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #d1d5db;
    padding: 32px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer inner wrapper */
.fst-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* ===== FOOTER SECTIONS ===== */
.fst-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.8;
}

/* ===== FOOTER TYPOGRAPHY ===== */
.fst-heading {
    font-size: 20px;
    font-weight: bold;
    color: #f9fafb;
    margin: 8px 0;
    line-height: 1.4;
}

.fst-subheading {
    font-size: 16px;
    font-weight: 500;
    color: #e5e7eb;
    margin: 8px 0;
    line-height: 1.4;
    display: inline-block;
}

/* ===== FOOTER LINKS ===== */
.fst-footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
    display: inline-block;
}

.fst-footer a:hover {
    color: #3b82f6;
    transform: translateY(-1px);
}

.fst-link {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fst-link:hover {
    color: #9ca3af;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Desktop (768px+) */
@media (min-width: 768px) {
    .fst-wrapper {
        text-align: center;
    }
    
    .fst-footer {
        padding: 32px 0;
    }
}

/* Tablet & Mobile (< 768px) */
@media (max-width: 767px) {
    .fst-footer {
        padding: 24px 0;
    }
    
    .fst-wrapper {
        padding: 0 16px;
    }
    
    .fst-heading {
        font-size: 18px;
    }
    
    .fst-subheading {
        font-size: 14px;
    }
    
    .fst-bottom {
        font-size: 12px;
        padding-top: 16px;
    }
}

/* Extra small (< 480px) */
@media (max-width: 480px) {
    .fst-footer {
        padding: 20px 0;
    }
    
    .fst-wrapper {
        padding: 0 12px;
    }
    
    .fst-heading {
        font-size: 16px;
    }
    
    .fst-subheading {
        font-size: 13px;
    }
    
    .fst-bottom {
        font-size: 11px;
        line-height: 1.6;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .fst-footer {
        background: #f3f4f6;
        color: #1f2937;
        box-shadow: none;
        border-top: 2px solid #e5e7eb;
        page-break-inside: avoid;
    }
    
    .fst-heading,
    .fst-subheading {
        color: #1f2937;
    }
    
    .fst-footer a,
    .fst-link {
        color: #4b5563;
    }
    
    .fst-bottom {
        border-top-color: #d1d5db;
    }
}

/* ============================================================
   END STANDALONE FOOTER CSS
   All classes prefixed with fst- for zero conflicts
   ============================================================ */
