body {
    font-family: Bookman Old Style;
    background-color: #f4f6f9;
    color: #212529;
    margin: 0;
}

/* HEADER */
.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, #0d47a1, #1565c0);
    padding: 12px 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#hamburgerBtn {
        padding: 3px 5px;
        font-size: 30px;
        background-color: transparent; 
        border: none;
        color: inherit;
        cursor: pointer; 
    }
@media (max-width: 768px) {
    .dashboard-header {
        padding: 8px 12px;
    }

    .dashboard-header img {
        width: 40px;
        height: 40px;
    }

    .dashboard-header span {
        font-size: 10px;
        line-height: 1.2;
        white-space: normal;
    }

    .dashboard-header .text-truncate {
        font-size: 8px;
        max-width: 70px;
    }

    #hamburgerBtn {
        padding: 3px 5px;
        font-size: 25px;
        background-color: transparent; 
        border: none; 
        color: inherit;
        cursor: pointer; 
    }

    .dashboard-header .d-flex.gap-2 {
        gap: 3px;
    }
}

/* CARD */
.deped-card {
    border: 1px solid #cfd8dc;
    border-radius: 8px;

    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 70px);
    
    margin: 0;
    background-color: #fff;

    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

/* Card header */
.deped-header {
    background-color: #0d47a1;
    color: #fff;
    padding: 14px;
    border-radius: 8px 8px 0 0;
}

.deped-card .card-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 30px;
    
}

.card:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 600;
    color: #0d47a1;
    font-size: 0.95rem;
}

.form-control {
    border-radius: 6px;
    border: 1px solid #cfd8dc;
    padding: 10px 12px;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #0d47a1;
    box-shadow: 0 0 0 0.15rem rgba(13, 71, 161, 0.25);
}

.text-muted,
.small {
    font-size: 0.85rem;
}

.deped-btn {
    background-color: #0d47a1;
    color: #ffffff;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 6px;
    border: none;
}

.deped-btn:hover {
    background-color: #08306b;
}
.profile-circle img:hover {
    transform: scale(1.05);
    transition: 0.3s;
    border: 2px solid #0d6efd;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
.sidebar {
    position: fixed;
    top: 76px;
    left: 0;
    width: 220px;
    height: calc(100% - 68px);
    background-color: #0d47a1;
    font-size: 14px;
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
    z-index: 1000;
    overflow-y: auto; 
}

    .sidebar.show {
        display: block;
    }
    
    
    main {
        margin-left: 0;
    }

    .deped-card {
        min-height: calc(100vh - 120px);
        margin: 10px 0;
    }

    .deped-card .card-body {
        padding: 15px;
    }

    .text-end {
        text-align: center !important;
    }

    .deped-btn {
        width: 100%;
    }
}


/* SIDEBAR */
.sidebar {
    position: fixed;
    top: 76px;
    left: 0;
    width: 220px;
    height: calc(100% - 68px);
    background-color: #0d47a1; 
    font-size: 14px;
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
    z-index: 1000;
    overflow-y: auto; 
}

.sidebar:not(.show) {
    transform: translateX(-100%);
}

.sidebar .nav-link {
    display: block;
    border-radius: 6px;
    padding: 10px 15px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background-color: #0d47a1;
    color: #fff;
}

.main-content {
    margin-left: 220px;
    transition: margin-left 0.25s ease-in-out;
}

.main-content.full {
    margin-left: 0;
}


/* FOR DASHBOARD SUMMARY */
.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 24px;
}
.main-content.full .dashboard-summary {
    padding-left: 24px;
    padding-right: 24px;
}

.summary-box {
    background: #ffffff;
    border-left: 8px solid #0d47a1; 
    border-radius: 12px;
    padding: 32px 24px;    
    min-height: 140px;      
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
}

.summary-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.15);
}

.summary-box p {
    margin: 0;
    font-size: 16px;  
    font-weight: 600;
    color: #0d47a1;
    letter-spacing: 0.3px;
}

.summary-box span {
    display: block;
    font-size: 20px;  
    font-weight: 1000;
    color: #212529;
    margin-top: 10px;

}

@media (max-width: 992px) {
    .dashboard-summary {
        grid-template-columns: repeat(1, 1fr);
        gap: 0px;
        
    }

    .summary-box {
        min-height: 130px;
        
    }
}

@media (max-width: 576px) {
    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .summary-box {
        min-height: 120px;
        padding: 28px 20px;
    }
}

    .deped-card table {
        width: 100%;
        font-size: 0.95rem;
    }

    .deped-card table thead th {
        font-weight: 600;
    }

    .deped-card table tbody td {
        font-size: 0.95rem;
    }

#travelTable {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

#travelTable thead {
    background-color: #0d6efd; 
    color: #fff;
    text-align: center;
    font-weight: 600;
}

#travelTable th, 
#travelTable td {
    padding: 12px 15px;
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
}

#travelTable tbody tr:nth-child(even) {
    background-color: #f8f9fa; 
}

#travelTable tbody tr:hover {
    background-color: #e9f2ff;
    transition: 0.3s;
}

#travelTable .btn {
    padding: 4px 10px;
    font-size: 13px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    #travelTable, 
    #travelTable thead, 
    #travelTable tbody, 
    #travelTable th, 
    #travelTable td, 
    #travelTable tr {
        display: block;
        width: 100%;
    }

    #travelTable thead {
        display: none; 
    }

    #travelTable tbody tr {
        margin-bottom: 15px;
        background-color: #fff;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        border-radius: 8px;
        padding: 10px;
    }

    #travelTable tbody td {
        text-align: left;
        padding: 6px 10px;
        font-size: 11px;
        display: flex;
        justify-content: flex-start; 
        gap: 5px;
        border-bottom: 1px solid #f0f0f0;
        flex-wrap: wrap; 
        position: relative;
    }

    #travelTable tbody td:last-child {
        border-bottom: none;
    }

    #travelTable tbody td:nth-child(1)::before { content: "#: "; text-align: left; font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(2)::before { content: "Request No.: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(3)::before { content: "Name: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(4)::before { content: "Position/Designation: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(5)::before { content: "Purpose: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(6)::before { content: "Host of Activity: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(7)::before { content: "From: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(8)::before { content: "To: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(9)::before { content: "Destination: "; text-align: left;  font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(10)::before { content: "Fund Source: "; text-align: left; font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(11)::before { content: "Status: "; text-align: left; font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(12)::before { content: "Attachment: "; text-align: left; font-weight: 600; width: 90px; display: inline-block; }
    #travelTable tbody td:nth-child(13)::before { content: "Action: "; text-align: left; font-weight: 600; width: 90px; display: inline-block; }

    #travelTable .btn {
        padding: 3px 8px;
        font-size: 11px;
        margin-right: 5px;
    }
}
        .password-wrapper {
            position: relative;
        }

        .password-wrapper input {
            padding-right: 38px;
        }

        .password-wrapper i {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #6c757d;
            font-size: 14px;
        }

        .password-wrapper i:hover {
            color: #000;
        }

        .carousel-item img {
            height: 180px;
            object-fit: cover;
        }

@media (max-width: 768px) {
    #logoutModal .modal-dialog {
        max-width: 65%; 
        margin: 1.75rem auto; 
    }

    #logoutModal .modal-header h5 {
        font-size: 0.9rem; 
        margin-bottom: 0;
    }

    #logoutModal .modal-footer .btn {
        font-size: 0.75rem; 
        padding: 3px 6px; 
    }
}