/* assets/css/style.css */

/* Calendar Styles */
.ems-calendar-wrapper {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.fc-scroller-liquid-absolute{
    scrollbar-width: none;
}

#ems-calendar {
    background: #fff;
    padding: 10px !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.agree-group{
    display: grid;
}
.inline-flex{
   display: inline-flex;
   gap: 8px;
}
.is_read_div{
    display: inline-grid;
    gap: 14px;
    margin-bottom: 24px;
}



/* Event List Styles */
/*.ems-event-list {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ems-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.ems-event-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.ems-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.ems-event-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.ems-event-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ems-event-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
}

.ems-event-title a {
    color: #333;
    text-decoration: none;
}

.ems-event-title a:hover {
    color: #0073aa;
}

.ems-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ems-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.ems-meta-item .dashicons {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
}

.ems-event-excerpt {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 16px;
    height: 125px;
}

.ems-event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}*/


/*New Event Css*/
    .container-mohit {
        max-width: 1400px;
        margin: 0 auto;
    }

        /* Filter Tabs */
        .filter-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .tab {
            padding: 12px 24px;
            border: 1px solid #d0d0d0;
            background: white;
            cursor: pointer;
            border-radius: 4px;
            font-size: 15px;
            transition: all 0.3s ease;
        }

        .tab:hover {
            background: #f0f0f0;
        }

        .tab.active {
            background: #2c4875;
            color: white;
            border-color: #2c4875;
        }

        /* Card Grid */
        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 24px;
        }

        /* Card Styles */
        .card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        }

        .card-image {
            position: relative;
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .date-badge {
            position: absolute;
            bottom: 12px;
            left: 12px;
            background: white;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 13px;
            font-weight: 600;
        }

        .card-content {
            padding: 20px;
        }
        .title{
            margin-bottom: 12px;
        }
        .card-title {
            font-size: 17px;
            font-weight: 600;
            color: #1a1a1a;
        }
        .card-title a{
            color: #333;
            text-decoration: none;
        }

        .card-details {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 20px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: #000;
            font-weight: 400;
        }

        .detail-icon {
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 16px;
            border-top: 1px solid #e0e0e0;
        }

        .price {
            font-size: 17px;
            font-weight: 700;
            color: #1a1a1a;
        }

        .register-btn {
            background: #2c4875;
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: background 0.3s ease;
        }

        .register-btn:hover {
            background: #1e3355;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .cards-grid {
                grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
                gap: 16px;
            }

            .filter-tabs {
                gap: 8px;
            }

            .tab {
                padding: 10px 16px;
                font-size: 14px;
            }

            .card-title {
                font-size: 16px;
            }

        }

        @media (max-width: 480px) {
            .cards-grid {
                grid-template-columns: 1fr;
            }

            .filter-tabs {
                flex-direction: column;
            }

            .tab {
                width: 100%;
                text-align: center;
            }
        }
/*End New Event Css*/

/* Single Event Styles */
.ems-single-event {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.ems-event-details {
    margin-bottom: 2rem;
}

.ems-detail-row {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.ems-detail-row:last-child {
    border-bottom: none;
}

.ems-detail-row strong {
    display: inline-block;
    min-width: 120px;
    color: #333;
}

.ems-enrollment-section {
    text-align: center;
    padding: 2rem 0;
}




/* Buttons */
.ems-btn {
    display: inline-block;
    padding: 7px 6px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.ems-btn-primary {
    background: #0073aa;
    color: #fff;
}

.ems-btn-primary:hover {
    background: #005177;
    color: #fff;
}

.ems-btn-success{
    background: #1eac15;
    color: #fff;
}

.ems-btn-success:hover {
    background: #32902c;
    color: #fff;
}

.ems-btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.ems-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Badges */
.ems-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ems-badge-full {
    background: #dc3232;
    color: #fff;
}

.ems-badge-success {
    background: #46b450;
    color: #fff;
}

/* Alerts */
.ems-alert {
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.ems-alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.ems-alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.ems-alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.ems-alert a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

/* No Events Message */
.ems-no-events {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ems-events-grid {
        grid-template-columns: 1fr;
    }
    
    .ems-event-meta {
        flex-direction: column;
    }
    
    .ems-event-actions {
        flex-direction: column;
        gap: 1rem;
    }
}


/*POP Modal*/

#emsModalOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
}

#emsEnrollModal {
    display: none;
    position: fixed;
    top: 37%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 100%;
    max-width: 632px;
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;

}

#emsEnrollModal input[type="text"],
#emsEnrollModal input[type="email"],
#emsEnrollModal input[type="date"] {
    width: -webkit-fill-available;
    /*margin-bottom: 10px;*/
    padding: 8px;
}

#customDates {
    display: none;
}

#emsEnrollModal button {
    margin-top: 10px;
}

.event-heading{
    margin: 0;
}
.event-title{
    margin: 0;
    margin-bottom: 22px;
    font-size: 14px;
}

/*.input-group input{
    width: -webkit-fill-available;
}*/
.error{
    font-size: 16px;
    color: red;
}
.input-group{
     margin-bottom: 10px;
}



.button,
.button-primary,
.button-secondary-mk {
    display: inline-block !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 26px !important;
    /*height: 28px !important;*/
    margin: 0 !important;
    /*padding: 0 10px 1px !important;*/
    cursor: pointer !important;
    border-width: 1px !important;
    border-style: solid !important;
    -webkit-appearance: none !important;
    -webkit-border-radius: 3px !important;
    border-radius: 3px !important;
    white-space: nowrap !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

.button,
.button-secondary-mk {
    color: #555 !important;
    border-color: #cccccc !important;
    background: #f7f7f7 !important;
    -webkit-box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08) !important;
    box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0,0,0,.08) !important;
    vertical-align: top !important;
}

p .button {
    vertical-align: baseline;
}

.button:hover,
.button-secondary-mk:hover,
.button:focus,
.button-secondary-mk:focus {
    background: #fafafa;
    border-color: #999;
    color: #222;
}

.button:focus,
.button-secondary-mk:focus {
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2);
    box-shadow: 1px 1px 1px rgba(0,0,0,.2);
}

.button:active,
.button-secondary-mk:active {
    background: #eee;
    border-color: #999;
    color: #333;
    -webkit-box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
    box-shadow: inset 0 2px 5px -3px rgba( 0, 0, 0, 0.5 );
}

.button-primary {
    background: #2ea2cc;
    border-color: #0074a2;
    -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5), 0 1px 0 rgba(0,0,0,.15);
    box-shadow: inset 0 1px 0 rgba(120,200,230,0.5), 0 1px 0 rgba(0,0,0,.15);
    color: #fff;
    text-decoration: none;
}

.button-primary:hover,
.button-primary:focus {
    background: #1e8cbe;
    border-color: #0074a2;
    -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
    box-shadow: inset 0 1px 0 rgba(120,200,230,0.6);
    color: #fff;
}

.button-primary:focus {
    border-color: #0e3950;
    -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
    box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4);
}

.button-primary:active {
    background: #1b7aa6;
    border-color: #005684;
    color: rgba(255,255,255,0.95);
    -webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.1);
    vertical-align: top;
}


.status-text{
    font-size: 16px;
}


@media only screen and (max-width: 600px) {
    .inline-flex label{
        font-size: 12px;
    }
    .error{
        font-size: 12px;
    }
    .daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
        line-height: 23px !important;
    }
    .daterangepicker .drp-calendar.right{
        padding: 0px;
    }
    .daterangepicker .drp-calendar.left{
        padding: 0px !important;
    }
    .daterangepicker{
        margin-top: 0px !important;
    }
    #emsEnrollModal {
        max-width: 300px;
    }
    #ems-calendar{
        padding: 10px
    }
    .fc .fc-view-harness{
        height: 370.852px !important;
    }
    .fc .fc-toolbar.fc-header-toolbar{
        flex-direction: column;
        gap: 7px;
    }
    .fc .fc-button .fc-icon{
        font-size: 16px;
    }
    .fc .fc-button{
        padding: 4px 8px;
    }
    .fc .fc-toolbar-title{
        font-size: 16px;
    }
}


.daterangepicker {
    z-index: 99999 !important;
} 

.emsModalOverlay {
    overflow: visible !important;
}

body.ems-modal-open {
    overflow: hidden !important;
    height: 100vh;
}
.enroll_type{
    font-size: 16px;
}

#emsDateRange{
    margin-top: 10px;
}



.table-condensed thead tr th{
    padding: 0px;
    tirfala
    pancham haldi
}
.table-condensed tbody tr td{
    padding: 0px;
}