/* Cookie Banner Styles */
.gw-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gw-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.75rem;
}

.gw-banner-text {
    color: #1f2937;
    font-size: 0.95rem;
    text-align: center;
}

.gw-learn-more {
    text-decoration: underline;
    color: #16a34a;
}

.gw-learn-more:hover {
    color: #15803d;
}

.gw-banner-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.gw-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.gw-btn-decline {
    background: #d1d5db;
    color: #374151;
}

.gw-btn-decline:hover {
    background: #9ca3af;
}

.gw-btn-settings {
    background: white;
    color: #374151;
    border: 1px solid #9ca3af;
}

.gw-btn-settings:hover {
    background: #f3f4f6;
}

.gw-btn-accept {
    background: #16a34a;
    color: white;
}

.gw-btn-accept:hover {
    background: #15803d;
}

/* Cookie Modal Styles */
.gw-cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gw-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.gw-modal-content {
    position: relative;
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: 91.666667%;
    max-width: 28rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.95) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.gw-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.gw-cookie-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gw-cookie-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: background 0.2s ease;
}

.gw-cookie-option:hover {
    background: #f9fafb;
}

.gw-cookie-option input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: #16a34a;
}

.gw-cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.gw-cookie-option span {
    color: #374151;
    font-size: 0.95rem;
}

.gw-modal-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.gw-btn-cancel {
    background: #e5e7eb;
    color: #374151;
}

.gw-btn-cancel:hover {
    background: #d1d5db;
}

.gw-btn-save {
    background: #16a34a;
    color: white;
}

.gw-btn-save:hover {
    background: #15803d;
}

/* Mobile Responsive - Center banner on mobile */
@media (max-width: 768px) {
    .gw-cookie-banner {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        left: 1rem;
        right: 1rem;
        border-radius: 0.5rem;
        animation: modalSlideIn 0.3s ease-out;
    }
    
    .gw-banner-buttons {
        width: 100%;
    }
    
    .gw-btn {
        flex: 1;
        min-width: 80px;
    }
}

@media (min-width: 768px) {
    .gw-banner-content {
        flex-direction: row;
    }
    
    .gw-banner-text {
        text-align: left;
    }
    
    .gw-banner-buttons {
        flex-shrink: 0;
    }
}