/**
 * PrivacyGuard WP Public Styles
 *
 * @package PrivacyGuard WP
 */

/* === Imprint Shortcode === */
.pgwp-imprint {
    margin: 1em 0;
}

.pgwp-imprint p {
    margin-bottom: 0.5em;
}

/* === Privacy Policy === */
.pgwp-privacy {
    margin: 1em 0;
}

.pgwp-privacy h3 {
    margin-top: 1.5em;
}

.pgwp-privacy-service {
    margin-bottom: 1.5em;
    padding-left: 1em;
    border-left: 3px solid #2563eb;
}

.pgwp-privacy-service h4 {
    margin-bottom: 0.5em;
    color: #1e293b;
}

/* === Opt-In/Opt-Out === */
.pgwp-optinout {
    margin: 1em 0;
}

.pgwp-optinout-service {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.pgwp-optinout-service:last-child {
    border-bottom: none;
}

.pgwp-optinout-service label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

/* === Forms (Data Request, Delete Account) === */
.pgwp-form-public {
    max-width: 480px;
    margin: 1em 0;
}

.pgwp-input {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    margin-top: 4px;
}

.pgwp-input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.pgwp-button {
    display: inline-block;
    padding: 10px 24px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}

.pgwp-button:hover {
    background: #1d4ed8;
}

.pgwp-button-danger {
    background: #dc2626;
}

.pgwp-button-danger:hover {
    background: #b91c1c;
}

/* === Notices === */
.pgwp-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}
.pgwp-notice-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.pgwp-notice-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* === Cookie Inline Manager === */
.pgwp-cookie-inline {
    margin: 1.5em 0;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}
.pgwp-cookie-inline h3 { margin-top: 0; }

/* === Legal Pages === */
.pgwp-legal {
    margin: 1.5em 0;
    line-height: 1.7;
}
.pgwp-legal h2 { font-size: 1.6em; margin: 1.2em 0 0.5em; }
.pgwp-legal h3 { font-size: 1.25em; margin: 1em 0 0.4em; }
.pgwp-legal h4 { font-size: 1.1em; margin: 0.8em 0 0.3em; }
.pgwp-legal p { margin-bottom: 0.8em; }
.pgwp-legal ul, .pgwp-legal ol { margin: 0.6em 0 0.6em 1.8em; }
.pgwp-legal li { margin-bottom: 0.3em; }
.pgwp-legal-empty { color: #94a3b8; font-style: italic; }

/* === Data Request / Delete Account === */
.pgwp-data-request h3,
.pgwp-delete-account h3 {
    margin-bottom: 8px;
}
.pgwp-data-request p,
.pgwp-delete-account p {
    margin-bottom: 12px;
}
