﻿


/* Dark background for modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 68%);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}

    .modal-overlay.show {
        display: flex;
        opacity: 1; /* Fade in overlay */
    }

.customedelete .modal-content {
    background: white;
    border: 0px solid #ccc;
    border-radius: 14px;
    padding: 20px;
    width: 350px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100px); /* Start above for slide-down */
    opacity: 0; /* Start invisible */
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.modal-overlay.show .modal-content {
    transform: translateY(0); /* Slide down to position */
    opacity: 1; /* Fade in content */
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

    .close-btn:hover {
        color: #666;
    }

.modal-text {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin: 20px 0 30px 0;
    line-height: 1.4;
}

    .modal-text span {
        height: 60px;
        width: 60px;
        border-radius: 50%;
        background-color: #ffebec;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
    }

    .modal-text span {
        color: #ef2f2f;
        font-size: 30px;
    }

    .modal-text h3 {
        font-size: 18px;
        line-height: 23px;
        font-weight: 500;
        padding-top: 20px;
        margin-bottom: 0;
    }

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .modal-buttons .btn {
        padding: 4px 16px;
        border: 1px solid #dc3545;
        border-radius: 50px;
        cursor: pointer;
        font-size: 14px !important;
        font-weight: 400;
        width: 50%;
    }

    .modal-buttons .btn-cancel {
        background-color: #ffffff;
        color: #000000;
        border: 1px solid #333;
    }

.btn-cancel:hover {
    background-color: #000;
    color: #fff;
}

tr.show-grid.thead-row th {
    padding: 8px 8px !important;
}

button.btn.btn-yes {
    background-color: #dc3545 !important;
}
tr.show-grid.thead-row th {
    background-color: #1c95b6 !important;
}
tr.show-grid.thead-row th {
    background-color: #1c95b6 !important;
}

.custom-table td {
    background-color: #bcd9e745 !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #bcd9e745;
}


/* Tablets 991px */
@media (max-width: 991px) {
    .custom-table td, .custom-table th {
        padding: 8px 12px !important;
        font-size: 15px;
    }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
    .custom-table {
        display: block;
        width: 100%;
        overflow-x: auto; /* horizontal scroll */
        -webkit-overflow-scrolling: touch;
        min-width: 600px; /* avoid breaking */
    }

        .custom-table td,
        .custom-table th {
            padding: 6px 10px !important;
            font-size: 15px;
            white-space: nowrap; /* prevent line breaks */
        }
}



/* Extra Small (max-width: 480px) */
@media screen and (max-width: 510px) {

    .custom-table {
        min-width: 375px;
    }

        .custom-table td,
        .custom-table th {
            padding: 6px 8px !important;
            font-size: 15px;
        }

        .custom-table td, .custom-table th {
            padding: 6px 8px !important;
            font-size: 15px !important;
        }

    #animated-tab1 ul li a {
        font-size: 14px;
        padding-inline: 25px !important;
        padding-block: 10px !important;
    }


    #programForm::before, #programForm::after, .half-section-new::before, .half-section-new::after, #rd_btn::after, #rd_btn::before{
        display: none !important;
    }
    .col-12.col-lg-3.text-lg-right.text-center {
        text-align: left !important;
    }
    i.fa.fa-plus-circle {
        font-size: 12px;
    }
    .padding-50px-all {
        padding: 20px;
    }
    .mfp-container {
        background-color: #00000000;
    }
    label {
        width: 14em;
    }
    #ContentPlaceHolder1_rb_SpeakerType td {
        background: #ffffff;
        padding:4px 8px;
    }
    }
#programForm::after, #programForm::before {
    z-index: -1 !important;
}


/* Modal box */
.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px; /* smooth rounded */
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    margin: auto;
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

    /* Close button */
    .modal-header button {
        border: none;
        background: #f1f1f1;
        border-radius: 50px; /* 👈 radius applied */
        width: 30px;
        height: 30px;
        cursor: pointer;
        font-weight: bold;
    }

        .modal-header button:hover {
            background: #ddd;
        }

/* Body */
.modal-body {
    padding: 15px 0;
    font-size: 14px;
    color: #333;
}

/* Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

    /* Buttons */
    .modal-footer button {
        padding: 8px 14px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }

        /* Cancel button */
        .modal-footer button:first-child {
            background: #e0e0e0;
        }

        /* Delete button */
        .modal-footer button:last-child {
            background: red;
            color: #fff;
        }

        /* Hover effects */
        .modal-footer button:hover {
            opacity: 0.9;
        }