/**
 * Starter Starter - Footer & Cookie Styles
 * Flatsome Theme Compatible
 */

/* Payment Footer */
.starter-payment-footer {
    background: #2d2d2d;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
    border-top: 3px solid #0073aa;
}

.starter-payment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.starter-payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.starter-logo {
    height: 28px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.starter-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.starter-bank-logo {
    height: 32px;
}

.starter-payment-text {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
}

.starter-payment-text p {
    margin: 5px 0;
}

.starter-payment-secure {
    color: #8bc34a;
    font-size: 12px;
}

/* Cookie Consent Bar */
.starter-cookie-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 18px 25px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    border-top: 2px solid #64ffda;
}

.starter-cookie-content {
    flex: 1;
    min-width: 300px;
}

.starter-cookie-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #64ffda;
}

.starter-cookie-text {
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

.starter-cookie-text a {
    color: #64ffda;
    text-decoration: underline;
}

.starter-cookie-text a:hover {
    color: #fff;
}

.starter-cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.starter-cookie-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.starter-cookie-accept {
    background: #64ffda;
    color: #1a1a2e;
}

.starter-cookie-accept:hover {
    background: #4de0c0;
    transform: translateY(-2px);
}

.starter-cookie-decline {
    background: transparent;
    color: #fff;
    border: 1px solid #666;
}

.starter-cookie-decline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #999;
}

/* Page Styles - Flatsome Compatible */
.starter-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.8;
}

.starter-page h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.starter-page h3 {
    color: #444;
    margin-top: 30px;
}

.starter-page p {
    margin-bottom: 15px;
}

.starter-page em {
    color: #666;
    display: block;
    margin-top: 5px;
}

.starter-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.starter-page table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.starter-page table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .starter-payment-logos {
        gap: 10px;
    }
    
    .starter-logo {
        height: 22px;
        padding: 5px 8px;
    }
    
    .starter-cookie-bar {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .starter-cookie-content {
        min-width: 100%;
    }
    
    .starter-cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .starter-cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Flatsome Theme Fixes */
.header-wrapper + .starter-payment-footer {
    margin-top: 0;
}

#wrapper .starter-payment-footer {
    width: 100%;
}

.footer-wrapper + .starter-payment-footer {
    margin-top: 0;
}

/* Flatsome Footer Override Styles */
.absolute-footer .copyright-footer {
    font-size: 12px;
    line-height: 1.8;
}

.absolute-footer .copyright-footer strong {
    font-weight: 700;
}

.footer-secondary .starter-flatsome-payment-icons {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}

.footer-secondary .starter-flatsome-payment-icons img {
    height: 24px !important;
    width: auto !important;
    max-width: 60px !important;
    object-fit: contain !important;
    background: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Make footer company info more readable */
.absolute-footer .footer-primary {
    flex: 1;
    text-align: left;
}

.absolute-footer .footer-secondary {
    flex: 0 0 auto;
}

/* Dark theme footer adjustments */
.dark .copyright-footer,
.footer-wrapper.dark .copyright-footer {
    color: #ccc;
}

.dark .copyright-footer strong,
.footer-wrapper.dark .copyright-footer strong {
    color: #fff;
}

/* Responsive footer */
@media (max-width: 992px) {
    .absolute-footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .absolute-footer .footer-primary,
    .absolute-footer .footer-secondary {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    
    .footer-secondary .starter-flatsome-payment-icons {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    .absolute-footer .copyright-footer {
        font-size: 11px;
        line-height: 2;
    }
    
    .footer-secondary .starter-flatsome-payment-icons img {
        height: 20px !important;
        padding: 2px 4px;
    }
}

