/**
 mfp styles

 */

.fa-reorder{
    cursor: pointer!important;
}

.white-popup-block {
    background: #FFF;
    padding: 20px 30px;
    text-align: left;
    max-width: 650px;
    margin: 40px auto;
    position: relative;
}


/* For tablets (widths between 768px and 1024px) */
@media (max-width: 1024px) {
    .mfp-content {
        max-width: 600px;
        width: 90%;
        height: 70vh!important; /* Increased height to 90% of the viewport height */
    }
}

/* For small devices (widths below 768px) */
@media (max-width: 768px) {
    .mfp-content {
        max-width: 100%;
        width: 90%;
        height: 70vh!important; /* Increased height to 90% of the viewport height */
    }

    .mfp-container {
        padding: 10px;
    }

    .mfp-close {
        right: 10px;
        top: 10px;
    }
}

/* For extra small devices (widths below 480px) */
@media (max-width: 480px) {
    .mfp-content {
        max-width: 100%;
        width: 100%;
        height: 70vh!important; /* Increased height to 90% of the viewport height */
        margin: 0;
    }

    .mfp-container {
        padding: 5px;
    }

    .mfp-close {
        right: 5px;
        top: 5px;
    }
}


.mfp-wrap.mg-large .mfp-content {
    height: 100vh;
}

.fa-action-icon{
    font-size: 18px;
    margin-right: 3px;
    margin-left: 5px;
}

/** for list views */
.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    color: white;
    font-family: Arial, sans-serif;
}


.widgets-card-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.awx-container {
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    background: white;
    border-radius: 3px;
}

/* grid view responsive */

.grid-view {
    width: 100%;
    overflow-x: auto;
    margin: 0;
    padding: 0;
}

/* Ensure the table is always full width */
.grid-view table {
    min-width: 600px; /* Or whatever width is appropriate for your content */
}


.table-widget {
    width: 100%;
    overflow-x: auto;
}

.table-widget table {
    min-width: 600px; /* Or whatever width is appropriate for your content */
}


/* Optional: Add more styling for better appearance */
@media (max-width: 600px) {
    table {
        font-size: 14px; /* Reduce font size on smaller screens */
    }
}


.pager li > a, .pager li > span {
    display: inline-block;
    padding: 5px 14px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    margin: 5px 2px;
    color: #007bff;
}

.pager li > a:hover {
    background-color: #007bff;
    color: white;
}

.pager li > a.active {
    background-color: #007bff;
    color: white;
}

/** if li selected class is selected */
.pager li.selected > a {
    background-color: #007bff;
    color: white;
}

/** same for yii pager class */
.yiiPager li > a, .yiiPager li > span {
    display: inline-block;
    padding: 5px 5px!important;
    background-color: #f8f9fa!important;
    border: 1px solid #dee2e6!important;
    border-radius: 3px;
    margin: 5px 2px;
    color: #007bff!important;
}

.yiiPager li > a:hover {
    background-color: #007bff;
    color: white;
}

.yiiPager li > a.active {
    background-color: #007bff;
    color: white;
}

/** if li selected class is selected */
.yiiPager li.selected > a {
    background-color: #007bff;
    color: white;
}

/* bg for badge primary, secondary, success etc bootstrap */
.badge {
    color: #fff;
}

.bg-primary {
    background-color: #007bff;
}

.bg-secondary {
    background-color: #6c757d;
}

.bg-success {
    background-color: #28a745;
}

.bg-danger {
    background-color: #dc3545;
}

.bg-warning {
    background-color: #ffc107;
}

.bg-info {
    background-color: #17a2b8;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-dark {
    background-color: #343a40;
}

.bg-white {
    background-color: #fff;
}

/* text for badge primary, secondary, success etc bootstrap */
.btn-default {
    color: #fff;
}

.btn-primary {
    /* bootstrap primary color blue */
}

.btn-secondary {
    color: #fff;
    background: grey;
}



.form-section-separator {
    position: relative;
    background: whitesmoke;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0px 0px 20px 0px;
}


.form-section-separator .form-section-title {
    display: inline-block;
    padding: 3px;
    background: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    color: #ff6666;
    box-shadow: 0 2px 5px rgba(255, 102, 102, 0.2);
    /* text underline */
    text-decoration: underline;
    text-decoration-color: #ff6666;
    margin-bottom: 5px;
}


.details-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.details-table th,
.details-table td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.details-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}
