/* ============================================================
   Deeploy Cookie Consent — Banner
   ============================================================ */
.dcc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #172D3D;
    color: #fff;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    animation: dcc-slideUp 0.4s ease;
}

@keyframes dcc-slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.dcc-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.dcc-banner__text {
    flex: 1;
}

.dcc-banner__text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.dcc-banner__text p strong {
    color: #fff;
}

.dcc-banner__links {
    margin-top: 0.5rem !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.dcc-banner__links a {
    color: #8BC9DB;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dcc-banner__links a:hover {
    color: #fff;
}

.dcc-banner__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .dcc-banner__inner {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }
    .dcc-banner__actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .dcc-banner__actions .dcc-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* ============================================================
   Buttons
   ============================================================ */
.dcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.dcc-btn--primary {
    background: #DF3E5B;
    color: #fff;
    border-color: #DF3E5B;
}

.dcc-btn--primary:hover {
    background: #c7304a;
    border-color: #c7304a;
}

.dcc-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.dcc-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.dcc-btn--link {
    background: none;
    border: none;
    color: #8BC9DB;
    padding: 0.65rem 0.5rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.dcc-btn--link:hover {
    color: #fff;
}

/* ============================================================
   Modal
   ============================================================ */
.dcc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: dcc-fadeIn 0.25s ease;
}

@keyframes dcc-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dcc-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.dcc-modal__content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.dcc-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0;
}

.dcc-modal__header h2 {
    font-size: 1.25rem;
    color: #172D3D;
    margin: 0;
}

.dcc-modal__close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.dcc-modal__close:hover {
    color: #172D3D;
}

.dcc-modal__body {
    padding: 1rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.dcc-modal__body > p {
    font-size: 0.9rem;
    color: #3A3A3A;
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.dcc-modal__footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    border-top: 1px solid #e5e7eb;
}

.dcc-modal__footer .dcc-btn--outline {
    color: #172D3D;
    border-color: #172D3D;
}

.dcc-modal__footer .dcc-btn--outline:hover {
    background: #172D3D;
    color: #fff;
}

/* ============================================================
   Category toggles
   ============================================================ */
.dcc-category {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.dcc-category__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.dcc-category__header h3 {
    font-size: 1rem;
    color: #172D3D;
    margin: 0 0 0.25rem;
}

.dcc-category__header p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.dcc-category__details {
    margin-top: 0.75rem;
}

.dcc-category__details summary {
    font-size: 0.8rem;
    color: #8BC9DB;
    cursor: pointer;
    font-weight: 500;
}

.dcc-category__details summary:hover {
    color: #172D3D;
}

.dcc-category__details ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.dcc-category__details li {
    font-size: 0.8rem;
    color: #6b7280;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.dcc-category__details li:last-child {
    border-bottom: none;
}

/* ============================================================
   Toggle switch
   ============================================================ */
.dcc-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.dcc-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dcc-toggle__slider {
    display: block;
    width: 44px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.dcc-toggle__slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.dcc-toggle input:checked + .dcc-toggle__slider {
    background: #DF3E5B;
}

.dcc-toggle input:checked + .dcc-toggle__slider::after {
    transform: translateX(20px);
}

.dcc-toggle--disabled .dcc-toggle__slider {
    background: #8BC9DB;
    cursor: default;
}

.dcc-toggle--disabled .dcc-toggle__slider::after {
    transform: translateX(20px);
}

.dcc-toggle__label {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
}

/* Click on slider toggles the checkbox */
.dcc-toggle__slider {
    cursor: pointer;
}

/* ============================================================
   Reopen button (footer)
   ============================================================ */
.dcc-reopen-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    font-family: inherit;
    transition: color 0.2s;
}

.dcc-reopen-btn:hover {
    color: #fff;
}
