
/* =========================================
   PROFESSIONAL RESPONSIVE SEARCH BAR
   Desktop | Tablet | Mobile
========================================= */

.info-bar,
.info-bar * {
    box-sizing: border-box;
}

.print_process {
    width: 100%;
    min-width: 0;
    padding: 10px 14px;
}

/* =========================================
   DESKTOP DESIGN
========================================= */

.info-bar {
    width: calc(100% - 36px);
    max-width: 100%;
    margin: 18px auto 16px;
    padding: 16px 18px;

    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;

    background: #ffffff;
    border: 1px solid #dbe2ea;
    border-radius: 9px;

    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

/* GROUP */

.info-bar .info-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;

    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* LABEL */

.info-bar .info-item label {
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

/* INPUT AND SELECT */

.info-bar .dropdown_search,
.info-bar input[type="date"],
.info-bar input[type="month"] {
    height: 42px;
    min-width: 0;

    padding: 0 12px;

    color: #1e293b;
    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;
    outline: none;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.info-bar .dropdown_search {
    width: 240px;
}

.info-bar input[type="date"] {
    width: 165px;
}

.info-bar input[type="month"] {
    width: 200px;
}

.info-bar .dropdown_search:focus,
.info-bar input[type="date"]:focus,
.info-bar input[type="month"]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* BUTTONS */

.info-bar .buttonSubmit,
.info-bar .buttonprint {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 100px;
    height: 42px;
    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    cursor: pointer;
    transition: all 0.2s ease;
}

/* SHOW */

.info-bar .buttonSubmit {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}

.info-bar .buttonSubmit:hover {
    background: #1d4ed8;
}

/* PRINT */

.info-bar .buttonprint {
    color: #ffffff;
    background: #dc2626;
    border-color: #dc2626;
}

.info-bar .buttonprint:hover {
    background: #b91c1c;
}

/* FOCUS */

.info-bar .buttonSubmit:focus-visible,
.info-bar .buttonprint:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.22);
    outline-offset: 2px;
}


/* =========================================
   TABLET RESPONSIVE
   481px - 900px
========================================= */

@media screen and (min-width: 481px) and (max-width: 900px) {

    .print_process {
        padding: 12px;
    }

    .info-bar {
        width: 100%;
        max-width: 100%;

        margin: 14px auto;
        padding: 18px;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        align-items: end;
        gap: 18px 16px;
    }

    /* Each field */

    .info-bar .info-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        min-width: 0;
        gap: 7px;
    }

    /* Labels */

    .info-bar .info-item label {
        display: block;
        width: 100%;

        color: #334155;
        font-size: 13px;
        font-weight: 600;

        white-space: normal;
    }

    /* Select and Input */

    .info-bar .dropdown_search,
    .info-bar input[type="date"],
    .info-bar input[type="month"] {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 44px;

        padding: 0 11px;
        font-size: 14px;
    }

    /* Buttons */

    .info-bar .buttonSubmit,
    .info-bar .buttonprint {
        width: 100%;
        min-width: 0;
        height: 44px;

        padding: 0 12px;
        font-size: 14px;
    }
}


/* =========================================
   MOBILE RESPONSIVE
   361px - 480px
========================================= */

@media screen and (max-width: 480px) {

    .print_process {
        width: 100%;
        padding: 9px;
    }

    .info-bar {
        width: 100%;
        max-width: 100%;

        margin: 12px auto;
        padding: 16px 14px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 15px;

        border-radius: 9px;
    }

    /* FIELD GROUP */

    .info-bar .info-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;

        width: 100%;
        max-width: 100%;
        min-width: 0;

        gap: 7px;
    }

    /* LABEL */

    .info-bar .info-item label {
        display: block;
        width: 100%;

        color: #334155;
        font-size: 13px;
        font-weight: 600;

        white-space: normal;
    }

    /* INPUT AND SELECT */

    .info-bar .dropdown_search,
    .info-bar input[type="date"],
    .info-bar input[type="month"] {
        display: block;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 45px;

        padding: 0 11px;

        font-size: 14px;
    }

    /* BUTTONS */

    .info-bar .buttonSubmit,
    .info-bar .buttonprint {
        display: flex;

        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: 45px;

        padding: 0 14px;

        font-size: 14px;
        border-radius: 7px;
    }
}


/* =========================================
   SMALL MOBILE
   360px AND BELOW
========================================= */

@media screen and (max-width: 360px) {

    .print_process {
        padding: 7px;
    }

    .info-bar {
        padding: 13px 11px;
        gap: 13px;
    }

    .info-bar .info-item {
        gap: 6px;
    }

    .info-bar .info-item label {
        font-size: 12px;
    }

    .info-bar .dropdown_search,
    .info-bar input[type="date"],
    .info-bar input[type="month"] {
        height: 43px;
        padding: 0 9px;
        font-size: 13px;
    }

    .info-bar .buttonSubmit,
    .info-bar .buttonprint {
        height: 43px;
        font-size: 13px;
    }
}


/* =========================================
   PRINT
========================================= */

@media print {

    .info-bar {
        display: none !important;
    }

    .print_process {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
}
