/*
 * Brihaspati Dham - cookie consent banner styles.
 * Brand palette: temple red #E40025, gold #e6ac1a, off-white background.
 */
#bd-cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999998;
    background: #fffaf2;
    border-top: 4px solid #e6ac1a;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(110%);
    transition: transform 0.35s ease-out;
    font-family: tahoma, verdana, segoe, sans-serif;
    color: #2d2317;
    line-height: 1.45;
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
}

#bd-cc-banner.bd-cc-visible {
    transform: translateY(0);
}

#bd-cc-banner .bd-cc-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

#bd-cc-banner .bd-cc-text {
    flex: 1 1 360px;
    min-width: 280px;
    font-size: 14px;
}

#bd-cc-banner .bd-cc-text strong {
    color: #E40025;
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

#bd-cc-banner .bd-cc-text p {
    margin: 0;
    font-size: 13px;
    color: #444;
}

#bd-cc-banner .bd-cc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

#bd-cc-banner .bd-cc-actions-right {
    justify-content: flex-end;
    width: 100%;
    padding: 8px 20px 16px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

#bd-cc-banner .bd-cc-btn {
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    transition: filter 0.15s, background 0.15s;
}

#bd-cc-banner .bd-cc-btn-primary {
    background: #E40025;
    color: #fff;
    border-color: #E40025;
}

#bd-cc-banner .bd-cc-btn-primary:hover {
    filter: brightness(1.1);
}

#bd-cc-banner .bd-cc-btn-secondary {
    background: #fff;
    color: #E40025;
    border-color: #E40025;
}

#bd-cc-banner .bd-cc-btn-secondary:hover {
    background: #fdecef;
}

#bd-cc-banner .bd-cc-btn-link {
    background: transparent;
    color: #6b5413;
    border-color: transparent;
    text-decoration: underline;
    padding: 9px 8px;
}

#bd-cc-banner .bd-cc-btn-link:hover {
    color: #E40025;
}

#bd-cc-banner .bd-cc-customise {
    background: #fff5e0;
    border-top: 1px dashed #d6b97c;
    padding: 12px 20px 4px;
}

#bd-cc-banner .bd-cc-cat {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 0;
    border-bottom: 1px solid #ecdcb4;
}

#bd-cc-banner .bd-cc-cat:last-child {
    border-bottom: none;
}

#bd-cc-banner .bd-cc-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    padding: 4px 0;
}

#bd-cc-banner .bd-cc-row span {
    flex: 1;
    font-size: 13px;
}

#bd-cc-banner .bd-cc-row strong {
    color: #2d2317;
    font-size: 14px;
}

#bd-cc-banner .bd-cc-row small {
    color: #6b5413;
    font-size: 12px;
}

#bd-cc-banner .bd-cc-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    accent-color: #E40025;
    flex-shrink: 0;
}

#bd-cc-banner .bd-cc-row input[type="checkbox"]:disabled {
    opacity: 0.5;
}

@media (max-width: 600px) {
    #bd-cc-banner .bd-cc-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 14px;
        gap: 10px;
    }

    #bd-cc-banner .bd-cc-actions {
        flex-direction: column-reverse;
    }

    #bd-cc-banner .bd-cc-btn {
        width: 100%;
        padding: 12px 16px;
    }

    #bd-cc-banner .bd-cc-customise {
        padding: 10px 14px 4px;
    }

    #bd-cc-banner .bd-cc-actions-right {
        padding: 8px 14px 14px;
    }
}
