
.parent_log_body{
    margin:0;
    font-family:'Inter',sans-serif;

    /* soft grey gradient */
    background:
        radial-gradient(circle at top,#ffffff,#f3f4f6);

    color:#1f2937;
}
.parent_log_body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;

    /* light noise texture */
    background-image:url("https://www.transparenttextures.com/patterns/cubes.png");

    opacity:0.25;
}
.app-header{
    background:#ffffff;
    border:1px solid #e5e7eb;
    border-radius:22px;

    padding:18px;
    margin-bottom:20px;

    box-shadow:0 8px 25px rgba(0,0,0,0.05);

    position:relative;
    overflow:hidden;
}

/* subtle top accent line */
.app-header::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    height:4px;
    width:100%;

    background:linear-gradient(90deg,#60a5fa,#34d399,#f59e0b);
}

/* top section */
.top-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* student info */
.student-info{
    display:flex;
    align-items:center;
    gap:14px;
}

.avatar{
    width:52px;
    height:52px;
    border-radius:14px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;
    color:white;

    background:linear-gradient(135deg,#60a5fa,#34d399);
    box-shadow:0 8px 20px rgba(96,165,250,0.3);
}

.student-info-h2{
    margin:0;
    font-size:18px;
    color:#111827;
}

.student-info-p{
    margin:0;
    font-size:12px;
    color:#6b7280;
}

/* stats pills */
.quick-stats{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:14px;
}

.pill{
    background:#f3f4f6;
    padding:8px 12px;
    border-radius:999px;

    font-size:12px;
    color:#374151;

    display:flex;
    align-items:center;
    gap:6px;

    transition:0.2s;
}

.pill:hover{
    transform:translateY(-2px);
}

.pill.highlight{
    background:linear-gradient(135deg,#60a5fa,#34d399);
    color:white;
}
/* PERIOD CHIPS */

.chips{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:15px 20px;
    scrollbar-width:none;
}

.chips::-webkit-scrollbar{
    display:none;
}

.chip{
    flex:0 0 auto;
    padding:10px 14px;
    border-radius:999px;

    background:#ffffff;
    border:1px solid #e5e7eb;

    cursor:pointer;
    transition:0.3s;

    font-size:12px;
    color:#374151;
}

.chip span{
    display:block;
    font-weight:600;
    font-size:13px;
}

.chip small{
    color:#9ca3af;
}

.chip.active{
    background:linear-gradient(135deg,#60a5fa,#34d399);
    color:white;
    border:none;
}
.chip{
    flex:0 0 auto;
    padding:10px 14px;
    border-radius:999px;

    background:#ffffff;
    border:1px solid #e5e7eb;

    color:#374151;
    cursor:pointer;

    transition:all .3s ease;
}

.chip:hover{
    background:#f3f4f6;
    transform:translateY(-2px);
}

.chip.active{
    background:linear-gradient(135deg,#60a5fa,#34d399);
    color:#fff;
    border-color:transparent;
    box-shadow:0 6px 18px rgba(96,165,250,.25);
}

.chip.active small{
    color:#fff;
}
/* CONTAINER */

.container{
    padding:20px;
}

/* PANEL */

/*.panel{
    display:none;
}*/

/*.panel.active{
    display:block;
}*/

/* SUBJECT HEADER */
.subject{
    padding:18px;
    border-radius:16px;

    background:linear-gradient(135deg,#60a5fa,#34d399);

    color:white;
    font-weight:600;
    font-size:18px;

    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* CARDS */

.class-card{
    margin-top:12px;
    padding:16px;
    border-radius:16px;

    background:rgba(255,255,255,0.8);
    border:1px solid #e5e7eb;

    backdrop-filter:blur(10px);
    box-shadow:0 4px 20px rgba(0,0,0,0.05);
}

.title{
    font-size:12px;
    color:#9ca3af;
    margin-bottom:6px;
}

.class-log-content{
    font-size:14px;
    line-height:1.5;
}

/* SPECIAL TAGS */

.homework{
    border-left:4px solid #14b8a6;
}

.remark{
    border-left:4px solid #22c55e;
}
.thought{
    border-left:4px solid #3b82f6;
}
.topic{
    border-left:4px solid #d97706;
}
.content{
    border-left:4px solid #eab308;
}

/*.class-absent{
    border-left:4px solid #ef4444;
}*/

/* FLOAT ANIMATION */

.class-card{
    animation:fadeIn 0.3s ease;
}

@keyframes fadeIn{
    from{opacity:0; transform:translateY(10px);}
    to{opacity:1; transform:translateY(0);}
}


.header-info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.class-info-section{
    display:flex;
    align-items:center;
    gap:14px;
}

.class-badge{
    width:56px;
    height:56px;
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    color:#fff;
    background:linear-gradient(135deg,#60a5fa,#34d399);
    box-shadow:0 8px 20px rgba(96,165,250,.25);
}

.class-info-title{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#111827;
}

.class-info-subtitle{
    margin:0;
    font-size:13px;
    color:#6b7280;
}

.logbook-search-section{
    display:flex;
    align-items:center;
    gap:10px;
}

.logbook-date-input{
    height:44px;
    padding:0 14px;
    border:1px solid #d1d5db;
    border-radius:12px;
    background:#fff;
    color: darkgrey;
     background:linear-gradient(135deg,#eff6ff,#ecfdf5);

    color:#374151;
    font-weight:500;

    box-shadow:0 3px 10px rgba(96,165,250,0.12);

    transition:all .3s ease;
}

.search-log-btn{
    height:44px;
    padding:0 18px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#60a5fa,#34d399);
    color:#fff;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:6px;
    transition:.3s;
}

.search-log-btn:hover{
    transform:translateY(-2px);
}

@media(max-width:600px){
    .header-info-row{
       flex-direction:column;
   }
}



/*######################## ADD ON ############################*/
.student-details{
    display:flex;
    flex-direction:column;
    gap:8px;
    flex:1;
}

.student-details-h2{
    margin:0;
    font-size:20px;
    color:#111827;
    font-weight:700;
}

.header-controls{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.grade{
    font-size:13px;
    font-weight:600;
    color:#6b7280;
}

.header-controls-dt{
    padding:9px 12px;
    border:1px solid #d1d5db;
    border-radius:10px;
    background:#fff;
    font-family:'Inter',sans-serif;
    font-size:13px;
    color:#374151;
    outline:none;
}

.header-controls-dt:focus{
    border-color:#60a5fa;
    box-shadow:0 0 0 4px rgba(96,165,250,.15);
}

.class-log-search-btn{
    padding:9px 18px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg,#60a5fa,#34d399);
    color:#fff;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.class-log-search-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 8px 18px rgba(96,165,250,.25);
}