/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    padding: 20px;
    transition: bottom 0.4s ease-in-out;
    border-top: 3px solid #3A4A2A;
}

.cookie-consent-banner.show {
    bottom: 0;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    flex-shrink: 0;
    color: #3A4A2A;
}

.cookie-icon svg {
    width: 40px;
    height: 40px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.cookie-text p {
    font-size: 14px;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.6;
}

.cookie-text a {
    color: #3A4A2A;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-text a:hover {
    color: #2C3B1F;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: #3A4A2A;
    color: white;
}

.cookie-btn-primary:hover {
    background: #2C3B1F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 74, 42, 0.3);
}

.cookie-btn-secondary {
    background: transparent;
    color: #3A4A2A;
    border: 2px solid #3A4A2A;
}

.cookie-btn-secondary:hover {
    background: #f5f5f5;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.cookie-modal-close:hover {
    color: #1a1a1a;
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookie-category-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cookie-category h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.cookie-category p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Cookie Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #3A4A2A;
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(22px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 24px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 15px 12px;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .cookie-text h4 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .cookie-text {
        min-width: auto;
    }

    .cookie-modal-content {
        max-height: 95vh;
        margin: 10px;
        border-radius: 8px;
    }
    
    .cookie-modal-header {
        padding: 20px 16px;
    }
    
    .cookie-modal-body {
        padding: 20px 16px;
    }

    .cookie-modal-footer {
        flex-direction: column;
        padding: 20px 16px;
    }

    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 12px 10px;
    }
    
    .cookie-text h4 {
        font-size: 15px;
    }
    
    .cookie-text p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Security Badge Styles */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f7f0;
    border: 1px solid #3A4A2A;
    border-radius: 6px;
    font-size: 14px;
    color: #3A4A2A;
    font-weight: 600;
}

.security-badge svg {
    width: 20px;
    height: 20px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin: 24px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
}

.trust-badge svg {
    width: 18px;
    height: 18px;
    color: #3A4A2A;
}

/* Secure Connection Indicator */
.secure-connection {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #3A4A2A;
    font-weight: 600;
}

.secure-connection svg {
    width: 16px;
    height: 16px;
}
