/* GDPR Law Cookies Banner - Minimal Style */

/* Banner */
.gdpr-prv-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999999;
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.gdpr-prv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gdpr-prv-content {
    flex: 1;
}

.gdpr-prv-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.gdpr-prv-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.gdpr-prv-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Buttons */
.gdpr-prv-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gdpr-prv-btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.gdpr-prv-btn-primary:hover {
    background: #1d4ed8;
}

.gdpr-prv-btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.gdpr-prv-btn-secondary:hover {
    background: #e5e7eb;
}

.gdpr-prv-btn-full {
    width: 100%;
}

/* Modal */
.gdpr-prv-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gdpr-prv-modal-content {
    background: #ffffff;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.gdpr-prv-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.gdpr-prv-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.gdpr-prv-close:hover {
    color: #4b5563;
}

.gdpr-prv-modal-body {
    padding: 24px;
}

.gdpr-prv-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
}

/* Options */
.gdpr-prv-option {
    margin-bottom: 24px;
}

.gdpr-prv-option:last-child {
    margin-bottom: 0;
}

.gdpr-prv-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.gdpr-prv-option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.gdpr-prv-option-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    padding-left: 44px;
}

.gdpr-prv-always-active {
    color: #059669;
    font-size: 13px;
    font-weight: 500;
    margin-left: auto;
}

/* Toggle Switch */
.gdpr-prv-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

.gdpr-prv-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 24px;
}

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

.gdpr-prv-switch input:checked + .gdpr-prv-slider {
    background-color: #2563eb;
}

.gdpr-prv-switch input:checked + .gdpr-prv-slider:before {
    transform: translateX(20px);
}

/* Responsive */
@media (max-width: 768px) {
    .gdpr-prv-container {
        flex-direction: column;
        align-items: stretch;
    }

    .gdpr-prv-actions {
        flex-direction: column;
    }

    .gdpr-prv-btn {
        width: 100%;
        text-align: center;
    }

    .gdpr-prv-title {
        font-size: 16px;
    }

    .gdpr-prv-text {
        font-size: 13px;
    }

    .gdpr-prv-modal-content {
        max-height: 90vh;
    }

    .gdpr-prv-option-desc {
        padding-left: 0;
        margin-top: 8px;
    }
}
