/* =========================================
   REQUEST TABLE DESIGN (RED / BLUE / GRAY)
========================================= */

.request-card{
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

/* TABLE */
.request-table{
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

/* HEADER */
.request-table thead th{
    background: #e5e7eb;
    color: #111827;
    font-weight: 700;
    text-align: center;
    padding: 14px 10px;
    font-size: 13px;
    letter-spacing: .3px;
    border: none;
}

/* BODY */
.request-table tbody tr:nth-child(even){
    background: #f3f4f6;
}

.request-table tbody tr:hover{
    background: #dbeafe;
}

.request-table td{
    border-top: 1px solid #e5e7eb;
    padding: 12px 10px;
    vertical-align: middle;
    color: #374151;
}

/* NUMBER */
.req-no{
    text-align: center;
    font-weight: 600;
    width: 70px;
}

/* REQUEST */
.req-request{
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    font-weight: 500;
}

/* DATE */
.req-date{
    text-align: center;
    white-space: nowrap;
    font-size: 13px;
}

/* BADGES */
.req-badge{
    display: inline-block;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

/* STATUS COLORS (RED / BLUE / GRAY) */
.req-pending{
    background: #dbeafe;
    color: #1e3a8a;
}

.req-approved{
    background: #e5e7eb;
    color: #111827;
}

.req-disapproved{
    background: #fee2e2;
    color: #991b1b;
}

.req-processing{
    background: #dbeafe;
    color: #1e40af;
}

/* MOBILE */
@media(max-width:768px){

    .request-table thead{
        display: none;
    }

    .request-table,
    .request-table tbody,
    .request-table tr,
    .request-table td{
        display: block;
        width: 100%;
    }

    .request-table tr{
        margin-bottom: 15px;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        border: 1px solid #e5e7eb;
    }

    .request-table td{
        border: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 12px 14px;
        text-align: left !important;
        position: relative;
    }

    .request-table td:last-child{
        border-bottom: none;
    }

    .request-table td::before{
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 12px;
        color: #2563eb;
        margin-bottom: 5px;
        text-transform: uppercase;
    }

    .req-date{
        white-space: normal;
    }
}


/* =========================================
   LOGS TABLE (RED / BLUE / GRAY)
========================================= */

.logs-card{
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    background: #fff;
}

.logs-table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.logs-table thead th{
    background: #e5e7eb;
    color: #111827;
    font-weight: 700;
    text-align: center;
    padding: 14px 10px;
}

.logs-table tbody tr:nth-child(even){
    background: #f3f4f6;
}

.logs-table tbody tr:hover{
    background: #dbeafe;
}

.logs-table td{
    border-top: 1px solid #e5e7eb;
    padding: 12px 10px;
    color: #374151;
}

.logs-no{
    width: 70px;
    text-align: center;
    font-weight: 600;
}

.logs-activity{
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.5;
    font-weight: 500;
}

.logs-date{
    text-align: center;
    font-size: 13px;
    white-space: nowrap;
}

.logs-badge{
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* LOG STATUS */
.logs-success{
    background: #e5e7eb;
    color: #111827;
}

.logs-warning{
    background: #dbeafe;
    color: #1e3a8a;
}

.logs-danger{
    background: #fee2e2;
    color: #991b1b;
}


/* =========================================
   TIMELINE (RED / BLUE / GRAY)
========================================= */
.enroll-timeline-yellow{
    position: relative;
    margin-left: 10px;
    padding-left: 20px;
    border-left: 3px solid #2563eb;
}

.timeline-item-yellow{
    position: relative;
    margin-bottom: 18px;
}

.timeline-dot-yellow{
    position: absolute;
    left: -29px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: #ef4444;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #ef4444;
}

.timeline-content-yellow{
    background: #f3f4f6;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.timeline-year-yellow{
    font-weight: bold;
    color: #2563eb;
    font-size: 14px;
}

.timeline-school-yellow{
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.timeline-section-yellow{
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
}

.timeline-meta-yellow{
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}


/* =========================================
   BOOKMARK TABS
========================================= */

.bm-tabs{
    border-bottom: 2px solid #e5e7eb;
    display: flex;
}

.bm-tabs .nav-item{
    flex: 1;
}

.bm-tabs .nav-link{
    border: 1px solid #e5e7eb !important;
    border-bottom: none !important;
    border-radius: 12px 12px 0 0 !important;
    background: #f3f4f6;
    color: #374151;
    font-weight: 600;
    text-align: center;
    padding: 12px;
}

.bm-tabs .nav-link.active{
    background: #2563eb !important;
    color: #fff !important;
    border-color: #2563eb !important;
}

.bm-tabs .nav-link:hover{
    background: #dbeafe;
    color: #1e40af;
}

.tab-content{
    border: 1px solid #e5e7eb;
    border-top: none;
    padding: 15px;
    background: #fff;
}


/* =========================================
   OBSERVE VALUES
========================================= */

.ov-card-header{
    background: linear-gradient(135deg,#ef4444,#2563eb,#6b7280);
    color: #fff;
    padding: 18px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.ov-table thead th{
    background: #e5e7eb;
    color: #111827;
    border: none;
    text-align: center;
    padding: 12px;
}


/* =========================================
   GENERAL UTILITIES
========================================= */

.text-primary-blue{ color:#2563eb; }
.text-danger-red{ color:#ef4444; }
.text-muted-gray{ color:#6b7280; }


/* =========================================
   BOOK STYLE CARDS
========================================= */
.lrm-entry{
    background:#f4fbff;
    border-radius:18px;
    padding:22px;
    position:relative;
    overflow:hidden;

    border-left:6px solid #0d6efd;

    box-shadow:
        0 5px 18px rgba(0,0,0,0.08);

    transition:0.25s ease;

    height:100%;
}

/* hover effect */
.lrm-entry:hover{
    transform:translateY(-4px);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.12);
}

/* subtle book line */
.lrm-entry::before{
    content:"";
    position:absolute;
    top:0;
    left:38px;
    width:2px;
    height:100%;
    background:rgba(13,110,253,0.08);
}

/* NUMBER */
.lrm-number{
    position:absolute;
    top:15px;
    right:15px;

    width:34px;
    height:34px;

    border-radius:50%;

    background:#198754;
    color:#fff;

    font-weight:700;
    font-size:13px;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

/* TITLE */
.lrm-resource-title{
    font-size:18px;
    font-weight:700;
    color:#0d3b66;

    margin-bottom:18px;

    line-height:1.5;

    white-space:normal;
    word-wrap:break-word;
    overflow-wrap:break-word;
}

/* META */
.lrm-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;

    margin-bottom:18px;
}

/* BADGES */
.lrm-badge{
    background:#dff7ea;
    color:#155724;

    border-radius:30px;

    padding:7px 14px;

    font-size:12px;
    font-weight:600;

    border:1px solid rgba(25,135,84,0.35);

    display:inline-flex;
    align-items:center;
    gap:5px;
}

/* DATE */
.lrm-date{
    font-size:13px;
    color:#6c757d;
    font-style:italic;
}

/* EMPTY */
.lrm-empty{
    background:#f4fbff;

    border-radius:18px;

    padding:60px 20px;

    text-align:center;

    color:#0d6efd;

    box-shadow:0 4px 15px rgba(0,0,0,0.05);
}

.lrm-empty i{
    font-size:65px;
    margin-bottom:12px;
}

/* MOBILE */
@media(max-width:768px){

    .lrm-resource-title{
        font-size:16px;
    }

    .lrm-badge{
        width:100%;
        justify-content:flex-start;
    }

}


/* =========================================
   ELEGANT LOCKED GRADE
========================================= */

.locked-grade{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:6px 12px;

    border-radius:30px;

    background:#f4fbff;
    color:#0d6efd !important;

    font-weight:600;
    font-size:14px;

    border:1px solid #b6d4fe;

    transition:0.25s ease;

    text-decoration:none !important;
}

.locked-grade:hover{
    background:#dbeafe;
    color:#084298 !important;

    transform:translateY(-1px);

    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

/* =========================================
   EDITABLE GRADE
========================================= */

.editable-grade{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:6px 12px;

    border-radius:30px;

    background:#dff7ea;
    color:#198754 !important;

    font-weight:700;
    font-size:14px;

    border:1px solid #b7ebcd;

    transition:0.25s ease;

    text-decoration:none !important;
}

.editable-grade:hover{
    background:#198754;
    color:#fff !important;

    transform:translateY(-1px);

    box-shadow:0 4px 12px rgba(25,135,84,0.35);
}

/* =========================================
   CUSTOM TOOLTIP
========================================= */

.grade-tooltip{
    text-align:center;
    padding:4px 6px;
    font-size:13px;
    font-weight:500;
}

.grade-tooltip i{
    display:block;
    font-size:18px;
    margin-bottom:4px;
    color:#0d6efd;
}


.calendar-table td{
    height:120px;
    width:14.28%;
    vertical-align:top;
    font-size:14px;
	padding-left: 0;
 }

.day-number{
    font-weight:bold;
    margin-bottom:5px;
 }

.today{

    background:#fff3cd !important;
}

/*
|--------------------------------------------------------------------------
| FADED WEEKEND STYLE
|--------------------------------------------------------------------------*/

.weekend{
    background:#f8f9fa;
}

.weekend .day-number{
     color:#adb5bd;
}

/*
|--------------------------------------------------------------------------
| ATTENDANCE BADGES
|--------------------------------------------------------------------------
*/

.attendance-box{
 	margin-top:10px;
}

.attendance-box .badge{
    font-size:11px;
    padding:6px;
}

/*
|--------------------------------------------------------------------------
| ABSENT STYLE
|--------------------------------------------------------------------------
*/

.absent{
	margin-top:10px;
    color:#dc3545;
    font-size:12px;
    font-weight:bold;
 }