/* PRIMCREDIT — banner consimțământ cookie */
.pc-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    background: linear-gradient(135deg, #0f2d4b 0%, #1e4d7a 100%);
    color: #fff;
    padding: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(110%);
    transition: transform 0.35s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.pc-consent-banner--visible {
    transform: translateY(0);
}

.pc-consent-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.pc-consent-banner__text {
    flex: 1 1 320px;
    min-width: 0;
}

.pc-consent-banner__text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    color: #3ad88f;
}

.pc-consent-banner__text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.pc-consent-banner__text a {
    color: #3ad88f;
    text-decoration: underline;
}

.pc-consent-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.pc-consent-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.pc-consent-btn--primary {
    background: #3ad88f;
    color: #0f2d4b;
}

.pc-consent-btn--primary:hover {
    background: #2bb879;
}

.pc-consent-btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.pc-consent-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.pc-consent-btn--ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
    padding: 10px 12px;
}

.pc-consent-overlay {
    position: fixed;
    inset: 0;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    font-family: 'Montserrat', sans-serif;
}

.pc-consent-overlay--visible {
    opacity: 1;
    visibility: visible;
}

.pc-consent-modal {
    background: #fff;
    color: #333;
    border-radius: 12px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 24px 24px;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pc-consent-modal h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    color: #0056b3;
}

.pc-consent-modal__intro {
    margin: 0 0 20px;
    font-size: 14px;
    color: #555;
}

.pc-consent-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}

.pc-consent-category {
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    cursor: pointer;
}

.pc-consent-category--locked {
    cursor: default;
    background: #f8f9fa;
}

.pc-consent-category__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}

.pc-consent-category p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.45;
}

.pc-consent-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0056b3;
    background: #e8f4fd;
    padding: 4px 8px;
    border-radius: 4px;
}

.pc-consent-category input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #3ad88f;
    cursor: pointer;
}

.pc-consent-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pc-consent-modal__actions .pc-consent-btn--primary {
    flex: 1;
}

.pc-consent-modal__link {
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
}

.pc-consent-modal__link a {
    color: #0056b3;
}

.pc-consent-footer-link {
    color: #3ad88f !important;
    text-decoration: underline;
    font-size: 0.9em;
    cursor: pointer;
}

@media (max-width: 600px) {
    .pc-consent-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .pc-consent-banner__actions {
        flex-direction: column;
    }

    .pc-consent-btn {
        width: 100%;
        text-align: center;
    }
}
