/* =========================
   RESET
========================= */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0f3d2e;
    overflow-x: auto;
}

/* =========================
   HEADER
========================= */
.header {
    text-align: center;
    padding: 20px;
    color: white;
    border-bottom: 3px solid #1f7a4c;
    background: #145a32;
}

.company {
    font-size: 24px;
    font-weight: bold;
}

/* =========================
   CONTENT
========================= */
.content {
    padding: 20px;
}

/* =========================
   FOOTER
========================= */
.footer {
    text-align: center;
    padding: 10px;
    color: #ccc;
    font-size: 13px;
}

/* =========================
   HOME PAGE
========================= */
.center-page {
    text-align: center;
    color: white;
    margin-top: 70px;
}

.logo {
    width: 300px;
    margin-bottom: 40px;
}

.pms {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 50px;
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.register {
    background: #1f7a4c;
}

.login {
    background: #145a32;
    border: 2px solid #1f7a4c;
}

.btn:hover {
    opacity: 0.9;
}

/* =========================
   TABLE
========================= */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th {
    background: #0b3b91;
    color: white;
    padding: 10px;
}

td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

/* =========================
   INPUTS
========================= */
input,
select,
textarea {
    width: 100%;
    padding: 6px;
    font-size: 14px;
}

/* =========================
   BUTTONS (FORM BUTTONS)
========================= */
button {
    padding: 10px 15px;
    border: none;
    background: #1f7a4c;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    width: auto;
}

    button:hover {
        background: #145a32;
    }

/* =========================
   BUTTON ROW
========================= */
.btn-box {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* =========================
   HEADER BOXES
========================= */
.header-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.box {
    background: #1e3a8a;
    color: white;
    padding: 12px;
    width: 180px;
    text-align: center;
    border-radius: 8px;
}

.box-green {
    background: #16a34a;
    color: white;
    padding: 12px;
    width: 220px;
    text-align: center;
    border-radius: 8px;
}

/* =========================
   LOGOUT
========================= */
.logout-container {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0;
}

.logout-btn {
    background: #dc2626;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

    .logout-btn:hover {
        background: #b91c1c;
    }

/* =========================
   MOBILE
========================= */
@media screen and (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .header {
        padding: 12px;
    }

    .company {
        font-size: 18px;
    }

    .content {
        padding: 10px;
    }

    .header-row {
        flex-direction: column;
        align-items: stretch;
    }

    .box,
    .box-green {
        width: 100%;
    }

    .btn-box {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    th,
    td {
        font-size: 12px;
        padding: 6px;
    }

    input,
    select,
    textarea {
        font-size: 12px;
    }

    .logout-container {
        justify-content: center;
    }

    .logo {
        width: 200px;
    }

    .pms {
        font-size: 20px;
    }
}
