/* ============================================================
   Shared mobile styles — Eagle Office Concepts service portal
   Included by all pages via <link rel="stylesheet">
   Page-specific overrides stay inline in each page's <style>.
   ============================================================ */

/* ── Header user bar (all screen sizes) ── */
.header-top-bar {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.header-buttons a {
    background: #48bb78;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.header-buttons a.logout-btn {
    background: #f56565;
}

@media (max-width: 768px) {

    body {
        padding: 4px;
    }

    .container,
    .login-container {
        max-width: 100% !important;
        width: 100%;
        box-sizing: border-box;
    }

    /* ── Header ── */
    .header {
        padding: 12px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

    .header h1 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .header p {
        font-size: 13px !important;
    }

    .header > div {
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    .header span {
        font-size: 12px !important;
    }

    .header a {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }

    /* ── Buttons ── */
    .buttons-bar {
        gap: 6px;
        margin-bottom: 8px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 5px;
    }

    .back-button {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 5px;
        margin-bottom: 8px;
    }

    /* ── Cards ── */
    .card,
    .header {
        border-top-width: 3px;
    }

    .card {
        padding: 10px 6px;
        margin-bottom: 8px;
    }

    .card h2 {
        font-size: 16px;
    }

    /* ── Status / priority / parts badges ── */
    .status-badge,
    .priority-badge,
    .parts-badge,
    .needs-closing-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* ── Form elements ── */
    .form-group {
        margin-bottom: 10px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 3px;
    }

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="number"] {
        padding: 6px 8px;
        font-size: 13px;
    }

}
