.ph-consent-hidden {
    display: none !important;
}

.ph-consent-banner {
    position: fixed;
    z-index: 10020;
    right: 20px;
    bottom: 20px;
    left: 20px;
    max-width: 760px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid rgba(0, 129, 109, 0.24);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    color: #334155;
    box-shadow: 0 24px 70px rgba(0, 63, 92, 0.22);
    font-family: "Fira Sans", sans-serif;
}

.ph-consent-banner h2,
.ph-consent-modal h2 {
    margin: 0 0 8px;
    color: #003f5c;
    font-size: 20px;
    font-weight: 800;
}

.ph-consent-banner p,
.ph-consent-modal p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.ph-consent-banner a,
.ph-consent-modal a {
    color: #006b5b;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ph-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ph-consent-button {
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid #005f86;
    border-radius: 12px;
    background: #ffffff;
    color: #004761;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.ph-consent-button:hover,
.ph-consent-button:focus-visible {
    outline: 3px solid rgba(0, 129, 109, 0.2);
    outline-offset: 2px;
}

.ph-consent-button-primary {
    border-color: #00816d;
    background: #00816d;
    color: #ffffff;
}

.ph-consent-overlay {
    position: fixed;
    z-index: 10030;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 32, 48, 0.72);
    backdrop-filter: blur(5px);
}

.ph-consent-modal {
    position: relative;
    width: min(620px, 100%);
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
    font-family: "Fira Sans", sans-serif;
}

.ph-consent-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: #eef4f6;
    color: #003f5c;
    font-size: 22px;
    cursor: pointer;
}

.ph-consent-category {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: start;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
}

.ph-consent-category strong {
    display: block;
    margin-bottom: 4px;
    color: #003f5c;
}

.ph-consent-category input {
    width: 21px;
    height: 21px;
    accent-color: #00816d;
}

.ph-cookie-settings-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

@media (max-width: 640px) {
    .ph-consent-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 18px;
    }

    .ph-consent-actions,
    .ph-consent-button {
        width: 100%;
    }

    .ph-consent-modal {
        padding: 24px 18px;
    }
}
