/* ===================================
   ActionSender Footer Styles
   Beautiful footer with payment logos
   =================================== */

:root {
    --brand-green: #059669;
    --brand-green-dark: #047857;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --transition-normal: 300ms ease-in-out;
    --border-radius-lg: 0.75rem;
}

/* ===================================
   Footer Section
   =================================== */
.main-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 1.5rem;
    border-top: 1px solid var(--gray-800);
    width: 100%;
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-company {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .footer-company {
        grid-column: span 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    color: var(--brand-green);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.7;
    max-width: 500px;
}

.footer-credit {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-credit a {
    color: #10b981;
    text-decoration: underline;
    font-weight: 600;
    transition: color var(--transition-normal);
}

.footer-credit a:hover {
    color: #34d399;
}

.footer-section-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all var(--transition-normal);
    display: inline-block;
}

.footer-link:hover {
    color: #10b981;
    text-decoration-color: currentColor;
    transform: translateX(2px);
}

/* ===================================
   Footer Bottom with Payment Logos
   =================================== */
.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-copyright a {
    color: #10b981;
    text-decoration: underline;
    transition: color var(--transition-normal);
}

.footer-copyright a:hover {
    color: #34d399;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-secure {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-secure svg {
    color: #10b981;
}

/* Payment Method Logos */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-logo {
    height: 32px;
    width: auto;
    transition: all var(--transition-normal);
    opacity: 0.85;
    cursor: pointer;
}

.payment-logo:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-payment {
        flex-direction: column;
        gap: 1rem;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 2rem 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .payment-logo {
        height: 20px;
    }
}

/* ===================================
   Accessibility
   =================================== */
.footer-link:focus,
.footer-credit a:focus,
.footer-copyright a:focus {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Dark mode optimization (already dark) */
@media (prefers-color-scheme: dark) {
    /* Footer colors are already dark-friendly; no overrides needed */
}
