.container-dashboard {
    margin-left: 260px;     /* same as sidebar width */
    width: calc(100% - 260px);
    padding-left: 0px;
    padding-right: 20px;
    background: #fdfdfd;
    min-height: 100vh;
    box-sizing: border-box;
    margin-top: 0px;
}


@media (max-width: 1100px) {

    .container-dashboard {
        margin-left: 0;
        width: 100%;
        padding: 15px;
    }
}
@media (max-width: 992px) {

    .container-dashboard {
        margin-left: 0;
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    /* Dashboard becomes full width */
    .container-dashboard {
        margin-left: 0;
        width: 100%;
        padding: 15px;
    }

}


/* Desktop: default behavior (no change needed) */
.d-sm-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Mobile & small devices */
@media (max-width: 576px) {

    /* Stack items vertically */
    .d-sm-flex {
        flex-direction: column;
        text-align: center;
        gap: 12px; /* spacing between items */
    }

    /* Show the button on mobile (Bootstrap hides it) */
    .d-sm-flex .btn {
        display: inline-block !important;
        width: 100%;               /* Make button full width */
        padding: 10px 0;
        font-size: 1rem;
        border-radius: 8px;
    }

    /* Reduce title spacing */
    .d-sm-flex h1 {
        font-size: 1.4rem;
        margin-bottom: 0 !important;
    }
}

/* home part */

.coming-card {
    background: #f7f9fc;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid #e1e6ef;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.coming-card:hover {
    transform: translateY(-2px);
    border-color: #c8d3e3;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.coming-ribbon {
    position: absolute;
    top: 22px;
    right: -40px;
    background: #ffcc00;
    color: #000;
    padding: 6px 50px;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(45deg);
    border-radius: 2px;
}

.coming-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.coming-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #7c8a9f;
    font-weight: 600;
}

.coming-info-value {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px;
}

.coming-divider {
    border-top: 1px dashed #ccd4df;
    margin: 18px 0;
}

.coming-footer {
    text-align: right;
}

#datatable tbody tr:hover {
    background-color: #f5f5f5 !important;
    cursor: pointer;
}



/* Popup code */

/* Modal overlay */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Show modal */
.modal.show {
    display: flex;
}

/* Center dialog */
.modal-dialog {
    width: 500px;
    max-width: 90%;
}

/* Modal content */
.modal-content {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

/* Header */
.modal-header {
    padding: 12px 16px;
}

/* Body */
.modal-body {
    padding: 16px;
}

/* Footer */
.modal-footer {
    padding: 12px 16px;
    text-align: right;
}

/* Button styling (Bootstrap-like) */
.btn {
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background: #0d6efd;
    color: #fff;
}

.btn-primary:hover {
    background: #0b5ed7;
    
}



.status-dot.active {
    background-color: #008000;
    box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(49, 162, 76, 0); }
    100% { box-shadow: 0 0 0 0 rgba(49, 162, 76, 0); }
}