#create_block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

#create_block>* {
    width: 90%;
}

#order_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    margin-bottom: 20px;
}

#order_right {
    display: flex;
    gap: 10px;
}

#order_right button {
    height: 42px;
    padding: 8px 14px;
    font-size: 15px;
}

input[type="text"],
input[type="date"],
input[type="number"] {
    padding: 6px 8px;
    font-size: 15px;
    height: 36px;
}

label {
    margin-right: 6px;
    font-weight: bold;
}

#products_table {
    width: 100%;
    border-collapse: collapse;
}

#products_table th,
#products_table td {
    padding: 6px;
    text-align: center;
}

#products_table input {
    width: 100%;
    box-sizing: border-box;
    height: 34px;
}

.ref_button,
.remove_button {
    width: 35px;
    height: 35px;
}

#add_row_button {
    margin-top: 10px;
    width: 40px;
    height: 40px;
    font-size: 22px;
}

.folder .tabs {
    display: flex;
    gap: 10px;
    padding-left: 10px;
    margin-bottom: -5px;
    width: 90%;
    flex: 1;
}

.folder .tab {
    padding: 10px 22px;
    background: #e6e6e6;
    border: 2px solid #555;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
    color: #333;
}

.folder .tab:hover:not(.active) {
    background: #dcdcdc;
}

.folder .tab.active {
    background: #ffffff;
    z-index: 2;
}

.folder .content {
    border: 2px solid #555;
    border-radius: 0 10px 10px 10px;
    padding: 20px;
    background: #fff;
    position: relative;
    z-index: 1;
}

.folder .panel {
    display: none;
}

.folder .panel.active {
    display: block;
}

#create_form {
    width: 90%;
    margin: 0 auto;
    display: grid;
    row-gap: 18px;
}

.create-form-row {
    display: grid;
    grid-template-columns: 160px 1fr 160px 1fr;
    column-gap: 14px;
    align-items: center;
}

.create-form-row label {
    text-align: right;
    font-weight: bold;
}

#content {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    display: block;
}

.create-form-row input {
    width: 100%;
    height: 36px;
    padding: 6px 8px;
    font-size: 15px;
    box-sizing: border-box;
}

.add-row-container {
    text-align: center;
    margin-top: 15px;
}

#add_row_button {
    width: 40px;
    height: 40px;
    font-size: 22px;
}

.create_selector {
    width: 100%;
    height: 36px;
    padding: 6px 8px;
    font-size: 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

button.input_button {
    background: #fff;
    border: 1px solid #000;
    color: #000;
    min-height: 34px;
    max-height: 60px;
    padding: 6px 8px;
    font-size: 15px;
    cursor: pointer;
    box-sizing: border-box;
    border-radius: 4px;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    display: inline-block;
    width: 100%;
}

button.input_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 1472px) {
    button.input_button {
        height: 72px;
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    button.input_button {
        height: 108px;
        font-size: 17px;
    }
}

.cantidad {
  text-align: center;
}

.lote {
  text-align: center;
  text-transform: uppercase;
}
