
/* GDPR Consent Banner Styles - shadcn/ui inspired */
.gdpr-container {
    position: fixed;
    z-index: 9999999;
    border-radius: 12px;
    bottom: 32px;
    right: 32px;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.gdpr-allow {
    background: rgb(0 166 146);
    border-radius: 8px;
    color: #ffffff !important;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.gdpr-allow:hover {
    background: rgb(0 146 126);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.gdpr-deny {
    background: #6b7280;
    color: #ffffff !important;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.gdpr-deny:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.gdpr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 40px;
    line-height: 1.25;
}

.gdpr-btn:not(:last-child) {
    margin-right: 12px;
}

.gdpr-compliance {
    margin-top: 16px;
    justify-content: flex-end;
}

.gdpr-compliance > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.gdpr-consent {
    overflow: hidden;
    padding: 24px 28px;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    color: #1f2937;
    background: transparent;
    line-height: 1.6;
}

.gdpr-customize:hover {
    color: #0891b2 !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.gdpr-customize {
    color: #0891b2 !important;
    margin-right: 12px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: 1px solid rgba(8, 145, 178, 0.2);
    border-radius: 6px;
    padding: 0.5rem 1rem;
}

.gdpr-customize:hover {
    background: rgba(8, 145, 178, 0.05);
    border-color: rgba(8, 145, 178, 0.3);
}

.gdpr-form {
    padding: 20px 0 0 0;
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 20px;
}

.gdpr-form > div {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    cursor: pointer !important;
    padding: 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.gdpr-form > div:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.gdpr-form-check {
    padding-right: 16px;
    margin-top: 2px;
}

.gdpr-form-check input[type="checkbox"] {
    width: 29px;
    height: 29px;
    border-radius: 7px;
    border: 2px solid #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    position: relative;
}

.gdpr-form-check input[type="checkbox"]:checked {
    background-color: rgb(0 166 146) !important;
    border-color: rgb(0 166 146) !important;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
}

.gdpr-form label {
    cursor: pointer;
    flex: 1;
}

.gdpr-form label > div:first-child {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.gdpr-form span {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.gdpr-form .ad-categories {
    list-style-type: none;
    margin: 12px 0 0 0;
    font-size: 14px;
}

.gdpr-form .ad-categories li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.gdpr-form .ad-categories li:last-child {
    border-bottom: none;
}

.gdpr-form .ad-categories li > div:first-child {
    font-weight: 500;
    color: #374151;
    margin-bottom: 2px;
}

.gdpr-custom-buttons {
    display: none;
}

.gdpr-custom-save {
    background: rgb(0 166 146);
    border-radius: 8px;
    color: #ffffff !important;
    min-width: 140px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.gdpr-custom-save:hover {
    background: rgb(0 146 126);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.gdpr-message {
    line-height: 1.6;
    color: #374151;
    font-size: 15px;
}

.gdpr-more {
    color: #0891b2 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Mobile responsive styles for GDPR banner */
@media (max-width: 768px) {
    .gdpr-container {
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        box-shadow: 
            0 -4px 6px -1px rgba(0, 0, 0, 0.1),
            0 -2px 4px -1px rgba(0, 0, 0, 0.06);
    }

    .gdpr-consent {
        padding: 20px 24px;
    }

    .gdpr-compliance > div {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .gdpr-basic-buttons {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .gdpr-btn {
        margin-bottom: 0;
        width: 100%;
        justify-content: center;
    }

    .gdpr-btn:not(:last-child) {
        margin-right: 0;
    }

    .gdpr-customize {
        margin-right: 0;
        margin-bottom: 8px;
        text-align: center;
    }
} 