/* ==========================================================
   EECC Entry List
   ========================================================== */

.eecc-entry-header{
    margin-bottom:28px;
}

.eecc-entry-header h2{
    margin:0 !important;
    font-size:30px;
    line-height:1.2;
}

.eecc-entry-header h3{
    margin:0 !important;
    font-size:24px;
    line-height:1.2;
    font-weight:400;
}

.eecc-entry-header p{
    margin:0 0 18px;
    color:#666;
    font-size:1rem;
}

.eecc-entry-header-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

/* ==========================================================
   Heading
   ========================================================== */

.eecc-entry-heading{
    margin:0 0 18px;
    padding-bottom:10px;
    border-bottom:2px solid #ececec;
    font-size:1.35rem;
    font-weight:700;
}

/* ==========================================================
   Entry Status
   ========================================================== */

.eecc-entry-status{
    margin:0 0 18px;
    font-size:1rem;
    font-weight:600;
}

.eecc-status-open{
    color:#2d8f47;
}

.eecc-status-closed{
    color:#c53030;
}

.eecc-button-disabled{
    background:#c53030;
    color:#fff !important;
    cursor:default;
    pointer-events:none;
}

/* ==========================================================
   Grid
   ========================================================== */

.eecc-entry-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

/* ==========================================================
   Class Card
   ========================================================== */

.eecc-entry-class{
    border:1px solid #ddd;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
    display:flex;
    flex-direction:column;
}

.eecc-entry-class-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 16px;
    background:#444;
    color:#fff;
    font-weight:700;
}

.eecc-entry-count{
    background:#6cb33f;
    color:#fff;
    padding:0px 10px;
    border-radius:20px;
    font-size:.8rem;
}

.eecc-entry-class-body{
    padding:12px 16px;
}

.eecc-entry-row{
    padding:6px 0;
    border-bottom:1px solid #eee;
}

.eecc-entry-row:last-child{
    border-bottom:none;
}

.eecc-entry-empty{
    color:#888;
    font-style:italic;
}

/* ==========================================================
   Buttons
   ========================================================== */

.eecc-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 18px;
    border-radius:4px;
    text-decoration:none !important;
    text-transform: uppercase;
    font-size:.85rem;
    font-weight:600;
    transition:.2s;
}

.eecc-button-primary{
    background:#6cb33f;
    color:#fff !important;
}

.eecc-button-primary:hover{
    background:#5aa12d;
}

.eecc-button-secondary{
    background:#efefef;
    color:#333 !important;
}

.eecc-button-secondary:hover{
    background:#dddddd;
}

/* ==========================================================
   Entry Success Message
   ========================================================== */

.eecc-entry-success{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin:24px 0 24px;
    padding:16px 18px;
    border:1px solid #6cb33f;
    border-left:5px solid #6cb33f;
    border-radius:6px;
    background:#eef8e8;
    color:#285f2f;
}

.eecc-entry-success strong{
    font-size:1rem;
}

.eecc-entry-success span{
    font-size:.95rem;
}

.eecc-entry-highlight {
    background: #eeffe2;
    border-left: 4px solid #6cb33f;
    color: #6cb33f;
    padding-left: 10px;
    font-weight: 700;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width:900px){

    .eecc-entry-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

}

@media (max-width:768px){

    .eecc-entry-grid{
        grid-template-columns:1fr;
    }

}