html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f8f8f8;
    color: #222;
}

/* Header */
.site-header {
    background: #003f7f;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 90px;
}

.navbar a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
    font-size: 1.1em;
}

.navbar a.cta {
    background: #ffb400;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: bold;
}

.navbar a.cta:hover {
    background: #ff9000;
}

.content {
    padding: 30px;
	flex: 1;
}

/* Footer */
.site-footer {
    background: #003f7f;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}
button, input, textarea {
    font-size: 1em;
}

.dashboard-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    margin-top: 20px;
}

.dashboard-table th, .dashboard-table td {
    border: 1px solid #ccc;
    padding: 10px;
}

.dashboard-table th {
    background: #003f7f;
    color: white;
}

.dashboard-table tr:nth-child(even) {
    background: #f2f2f2;
}

.dashboard-table tr:hover {
    background: #d9edf7;
}

.request-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    max-width: 600px;
}

.btn {
    background: #003f7f;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 6px;
}
.btn {
	--bs-btn-border-color: none;
}

.btn:hover {
    background: #0059b3;
}

.status-btn.schedule {
    background-color: #ffc107;
    color: #000;
    margin-right: 10px;
}

.status-btn.schedule:hover {
    background-color: #e0a800;
}

.status-btn.complete {
    background-color: #28a745;
    color: #fff;
}

.status-btn.complete:hover {
    background-color: #1e7e34;
}

.note-entry {
    background: #f7f7f7;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid #003f7f;
    margin-bottom: 10px;
}

/* --------------------------
   MOBILE RESPONSIVE DASHBOARD
--------------------------- */

/* ✅ Universal mobile optimization  */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1, h2, h3 {
        font-size: 1.2rem;
    }

    .content {
        padding: 15px;
    }

    .navbar a {
        font-size: 0.9rem;
        margin-left: 8px;
    }

    .logo {
        height: 60px;
    }

    .dashboard-table {
        width: 100%;
        font-size: 0.85rem;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 6px 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    button, input, textarea {
        font-size: 14px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        border-radius: 4px;
    }
}

/* ✅ Samsung Z-Fold 6 Unfolded Layout Optimization */
@media (min-width: 1600px) and (max-width: 2500px) and (min-height: 1500px) and (max-height: 2000px) {

    html, body {
        font-size: 1.1vw; /* desktop-like, scales with width */
    }

    .content {
        padding: 20px;
    }

    h1, h2, h3 {
        font-size: 1.4vw;
        font-weight: 600;
    }

    .navbar a {
        font-size: 1.05vw;
        padding: 8px 12px;
    }

    .logo {
        height: 7vw;
    }

    /* ✅ Table behaves like compact desktop */
    .dashboard-table {
        width: 100%;
        font-size: 1.05vw;
        table-layout: fixed;
    }

    .dashboard-table th,
    .dashboard-table td {
        padding: 6px 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ✅ Slightly compact buttons but full UI feel */
    .btn, .btn-sm, button {
        padding: 5px 10px;
        font-size: 1.05vw !important;
        border-radius: 5px !important;
    }

    .btn-link {
        font-size: 1.05vw !important;
        padding: 0;
    }

    input, select, textarea {
        font-size: 1.05vw;
        padding: 6px 8px;
    }

    .nav-link {
        font-size: 1.05vw;
        padding: 8px 10px;
    }
}


