.period-body{
    background:#f5f7fb;
    font-family:'Segoe UI',sans-serif;
    margin:0;
    padding:20px;
}

/* OUTER WRAPPER (new) */
.page-wrapper{
    display:flex;
    justify-content:center;
}

/* MAIN BOX (your previous design kept) */
.attendance-box{
    width:100%;
    max-width:500px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
    overflow:hidden;
}

/* HEADER */
.box-header{
    background:#0d6efd;
    color:#fff;
    padding:15px 20px;
    font-size:20px;
    font-weight:600;
}

.box-header .bi{
    margin-right:8px;
}
.period-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    padding:16px 20px;
    border:none;
    background:#fff;
    color:#333;
    border-bottom:1px solid #eee;
    transition:.2s;
    cursor:pointer;
    text-align:left;
}

.period-card:hover{
    background:#f8f9fa;
    color:#0d6efd;
}


/*######################## ATTENDANCE ############################*/

.attend-container {
        max-width: 800px;
        margin: auto;
        background: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .attend-h1 {
        text-align: center;
        color: #333;
    }

    .attend-table {
        width: 100%;
        border-collapse: collapse;
    }

    .attend-th, .attend-td {
        padding: 12px;
        border-bottom: 1px solid #ddd;
    }

    .attend-th {
        background-color: #007bff;
        color: white;
        text-align: left;
    }

    .attendance-btn {
        padding: 8px 16px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        color: white;
        font-weight: bold;
        background-color: #28a745;
    }

    .absent {
        background-color: #dc3545;
    }

    .class-info {
    margin-bottom: 25px;
    padding: 15px;
    background: #eef4ff;
    border-radius: 8px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.class-details .info {
    margin: 8px 0;
    font-size: 16px;
}

.date-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.date-container .date-label {
    font-size: 14px;
    font-weight: 700;
    color: black;
}

.date-container .attend-date {
    padding: 10px 14px;
    border: 2px solid #dbe3f0;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    outline: none;
    transition: 0.3s;
}

.date-container .attend-date:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0,123,255,0.15);
}


/*################# THOUGHT ##########################*/

.container-box {
            max-width: 600px;
            margin: auto;
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }

        .day-h1 {
            text-align: center;
            color: #333;
            margin-bottom: 25px;
        }

        .day-label {
            display: block;
            margin-top: 15px;
            margin-bottom: 5px;
            font-weight: bold;
            color: #444;
        }

        .day-input,
        .day-textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 15px;
        }

        .day-textarea {
            min-height: 120px;
            resize: vertical;
        }

        .btn-day {
            width: 100%;
            margin-top: 20px;
            padding: 12px;
            border: none;
            background: #0078d7;
            color: white;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
        }

        .btn-day:hover {
            background: #005fb0;
        }
        
        
        
            /* Thought & Pledge */
.thought-box{
    margin:15px 0 20px;
    padding:15px 20px;
    background:#f8fbff;
    border-left:5px solid #0d6efd;
    border-radius:8px;
}

.thought-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:10px;
}

.thought-item:last-child{
    margin-bottom:0;
}

.thought-title{
    min-width:150px;
    font-weight:600;
    color:#0d6efd;
    white-space:nowrap;
}

.thought-text{
    font-family:Georgia, serif;
    font-style:italic;
    color:#444;
}

.pledge-name{
    font-family:'Segoe UI', sans-serif;
    font-size:18px;
    font-weight:700;
    color:#198754;
}
        
        
        
        
        
        