/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    min-height: 70px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 25px;

    background: #111;

    color: white;

    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.35);

    z-index: 1000;
}


/* =========================
   LEFT SIDE
========================= */

.nav-left {
    display: flex;

    align-items: center;

    min-width: 220px;
}


/* =========================
   COPY BUTTON
========================= */

.copy-button {
    padding: 9px 13px;

    border: none;

    border-radius: 5px;

    background: #6a35a8;

    color: white;

    font-weight: bold;

    cursor: pointer;
}


.copy-button:hover {
    background: #8246c5;
}


/* =========================
   CENTER TITLE
========================= */

.nav-center {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);
}


.nav-center h1 {
    margin: 0;

    font-size: 40px;

    white-space: nowrap;
}


/* =========================
   RIGHT SIDE
========================= */

.nav-right {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 8px;
}


.nav-right form {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 0;
}


/* =========================
   ID INPUT
========================= */

.nav-right input {
    width: 100px;

    padding: 9px;

    border: none;

    border-radius: 5px;

    text-align: center;

    font-size: 14px;
}


/* =========================
   GENERAL BUTTON
========================= */

.nav-right button {
    padding: 9px 13px;

    border: none;

    border-radius: 5px;

    color: white;

    font-weight: bold;

    cursor: pointer;
}


/* =========================
   LOAD
========================= */

.load-button {
    background: #004488;
}


.load-button:hover {
    background: #125ca5;
}


/* =========================
   EDIT
========================= */

.edit-button {
    background: #c7a500;
}


.edit-button:hover {
    background: #e0bd00;
}


/* =========================
   SAVE
========================= */

.save-button {
    background: #185c38;
}


.save-button:hover {
    background: #237a4b;
}


/* =========================
   MOBILE NAVBAR
========================= */

@media (max-width: 700px) {

    .navbar {
        min-height: 60px;

        padding: 8px 12px;
    }


    .nav-left {
        min-width: auto;
    }


    .nav-center h1 {
        font-size: 19px;
    }


    .nav-right {
        gap: 5px;
    }


    .nav-right form {
        gap: 5px;
    }


    .nav-right input {
        width: 75px;

        padding: 8px 4px;
    }


    .nav-right button,
    .copy-button {
        padding: 8px 9px;

        font-size: 12px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 500px) {

    .nav-center {
        position: static;

        transform: none;

        margin-right: auto;

        margin-left: 8px;
    }


    .nav-center h1 {
        font-size: 17px;
    }


    .nav-left {
        order: 1;
    }


    .nav-center {
        order: 2;
    }


    .nav-right {
        order: 3;
    }

}