/* ===== RESET ===== */
body {
    margin: 0;
    background: #f4f6f8;
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
.header-top {
    background: #e9d8a6;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* ===== LOGO ===== */
.logo-side {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;
    border: 2px solid #4f79b9;
}

.logo-side img {
    width: 60%;
    height: 60%;
    object-fit: cover;
}

/* ===== STATION BAR ===== */
.station-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.station-name {
    background: #2563eb;
    color: white;
    padding: 10px 14px;
    font-weight: bold;
    border-radius: 10px;
}
/* ===== SPACING DASHBOARD ===== */

.container {
    padding-top: 10px;
}

.qr-box {
    margin-top: 12px;
    margin-bottom: 18px;
}

.table-box {
    margin-top: 10px;
}

.station-bar {
    margin: 12px 0;
}

.table-title {
    padding: 10px;
    border-radius: 8px;
}
/* ===== CARD CHUNG ===== */
.qr-box,
.table-box {
    background: white;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}

/* ===== QR ===== */
.qr-box {
    border-left: 6px solid #2563eb;
}

.qr-icon {
    font-size: 22px;
}

/* ===== BUTTON ===== */
.btn-primary {
    background: #2563eb;
    border: none;
}

.btn-success {
    background: #16a34a;
    border: none;
}

.btn-warning {
    background: #facc15;
    border: none;
}
btn-main {
    height: 48px;
    font-size: 16px;
    border-radius: 10px;
}
/* ===== INPUT ===== */
.input-custom {
    height: 48px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

/* ===== TABLE ===== */
.table-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #1e293b;
}

.table-wrap {
    max-height: 250px;
    overflow: auto;
}

table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

th {
    background: #f1f5f9;
    position: sticky;
    top: 0;
}

td, th {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
}

/* ===== STATUS ===== */
.status-running {
    color: #f59e0b;
    font-weight: bold;
}

.status-done {
    color: #16a34a;
    font-weight: bold;
}

/* ===== NÚT TẢI ===== */
.btn-download {
    background: #16a34a;
    color: white;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 6px;
}

/* ===== MODAL ===== */
.confirm-box {
    background: white;
    color: #1e293b;
    border-radius: 12px;
}
/* ===== FIX LOGIN ===== */

.logo-main {
    width: 160px;
    height: 160px;
    object-fit: cover;   /* 🔥 crop bỏ phần dư */
    border-radius: 50%;
    display: block;
    margin: 30px auto 10px;
}

.app-title {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 20px;
}

.card-box {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: #1e293b;
}

.container {
    max-width: 420px; /* giữ form gọn đẹp */
}
.toggle-pass {
    position: absolute;
    right: 15px;
    top: 65%;
    transform: translateY(-50%);  /* 🔥 căn giữa chuẩn */
    cursor: pointer;
    font-size: 18px;
}
@media (max-width: 576px) {

    .app-title {
        font-size: 18px;
    }

    .header-top .fw-bold {
        font-size: 12px;
    }

    .header-top .small {
        font-size: 11px;
    }

    label {
        font-size: 13px;
    }

    .input-custom {
        font-size: 15px;
    }

    .btn-main {
        font-size: 15px;
    }
}
.company-title {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.phieu-title {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 576px) {
    .company-title {
        font-size: 10.5px;
    }

    .phieu-title {
        font-size: 12px;
    }
}
.company-title {
    margin-bottom: 4px;
}