/* ================================================================
   Cookie Consent Plugin – Base Styles
   ================================================================ */

/* ---- Popup container ------------------------------------------- */
.ccp-popup {
    position: fixed;
    z-index: 999999;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Positions */
.ccp-pos-bottom { bottom: 0; left: 0; }
.ccp-pos-top    { top: 0;    left: 0; }

.ccp-pos-left,
.ccp-pos-right {
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    max-width: 90vw;
    border-radius: 12px;
}
.ccp-pos-left  { left: 16px; }
.ccp-pos-right { right: 16px; }

#ccp-decline {
	display:none;
}

/* Inner */
.ccp-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
	gap:1rem;
}

/* Text */
.ccp-text {
	font-family: 'Manrope';
    margin:0px;
	color:#2f2f2f !important;
}

.ccp-policy-link {
    color: #0073aa;
    text-decoration: underline;
    margin-left: 4px;
}
.ccp-policy-link:hover { color: #005177; }

/* ---- Categories ------------------------------------------------ */
.ccp-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.ccp-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    cursor: pointer;
}

.ccp-cat input[type="checkbox"] {
    accent-color: #0073aa;
}

/* ---- Buttons --------------------------------------------------- */
.ccp-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ccp-btn {
    display: inline-block;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ccp-policy-link {
	color:#004280;
}

.ccp-btn-accept {
    background: #004280;
    color: #fff;
    border-radius: 2em;
    font-family: 'Manrope';
}

.ccp-btn-accept:hover {
	 background: #0055a4;
}

.ccp-btn-accept:focus {
    background: #0055a4;
	box-shadow:0 0 0 .25rem rgb(0 66 128 / .25);
}

.ccp-btn-save {
    background: #f0f0f0;
    border: 1px solid #ccc;
}
.ccp-btn-save:hover,
.ccp-btn-save:focus {
    background: #e2e2e2;
}

.ccp-btn-decline {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
}
.ccp-btn-decline:hover,
.ccp-btn-decline:focus {
    background: #f5f5f5;
    color: #333;
}

/* ---- Re-open button -------------------------------------------- */
.ccp-reopen {
    position: fixed;
    z-index: 999998;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #0073aa;
    color: #fff;
    font-size: 22px;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.2s;
}

.ccp-reopen:hover,
.ccp-reopen:focus {
    background: #005c8a;
}

.ccp-reopen.ccp-pos-bottom { bottom: 16px; left: 16px; }
.ccp-reopen.ccp-pos-top    { top: 16px;    left: 16px; }
.ccp-reopen.ccp-pos-left   { bottom: 16px; left: 16px; }
.ccp-reopen.ccp-pos-right  { bottom: 16px; right: 16px; }

/* ---- Focus outline (a11y) -------------------------------------- */
.ccp-btn:focus-visible,
.ccp-reopen:focus-visible,
.ccp-policy-link:focus-visible {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* ---- Responsive ------------------------------------------------ */
@media (max-width: 600px) {
    .ccp-inner {
        padding: 16px;
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 1rem;
		flex-direction: column;
    }
    .ccp-buttons {
        flex-direction: column;
    }
    .ccp-btn {
        width: 100%;
        text-align: center;
    }
    .ccp-pos-left,
    .ccp-pos-right {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
    }
}