﻿
/* ======================================================
   ISOLATED BOOTSTRAP MODAL STYLES
   (Theme-Safe | No Conflicts)
   ====================================================== */
/* Z-index safety */
.cm-backdrop {
    z-index: 1050 !important;
}

.cm-modal {
    z-index: 1055 !important;
}

/* Dialog sizing */
.cm-dialog {
    max-width: 900px !important;
    margin: 1.75rem auto !important;
}


/* Modal shell */
.cm-content {
    background: url('../images/b6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

/* Header */
.cm-header {
    background: rgba(255,238,196,0.9);
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Body */
.cm-body {
    padding: 1rem 1.2rem;
}

/* Item list styling */
.cm-item {
    cursor: pointer;
    margin: 5px 0;
    padding: 4px 6px;
    font-size: 14px;
    border-radius: 4px;
}

    .cm-item:hover {
        background: #fcbd5d ;
        color: #000;
    }
    .cm-item.active-chart {
        background-color: #ffc107 !important;
        color: #000;
        font-weight: 600;
    }

/* Footer */
.cm-footer {
    background: rgba(255,238,196,0.9);
    padding: 8px 12px;
    border-top: 1px solid #ddd;
}

/* Responsive */
@media (max-width: 768px) {

    .cm-dialog {
        max-width: 95% !important;
        margin: .5rem auto !important;
    }

    .cm-body .row > div {
        width: 100%;
        margin-bottom: .75rem;
    }
}


