.formulary-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.formulary-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1200px;
    position: relative;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.formulary-close {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.formulary-close:hover {
    color: #000;
}

#formulary-search-form {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

#formulary-search-form input[type="text"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#formulary-search-form button {
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#formulary-search-form button:hover {
    background-color: #005177;
}

#formulary-results {
    margin-top: 20px;
}

#formulary-table {
    width: 100%;
    border-collapse: collapse;
}

#formulary-table th,
#formulary-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#formulary-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

#formulary-table tr:hover {
    background-color: #f9f9f9;
}

/* DISCOUNT */
.discount-formulary-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.discount-formulary-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 1200px;
    position: relative;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.discount-formulary-close {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

.discount-formulary-close:hover {
    color: #000;
}

#discount-formulary-search-form {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

#discount-formulary-search-form input[type="text"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#discount-formulary-search-form button {
    padding: 8px 16px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#discount-formulary-search-form button:hover {
    background-color: #005177;
}

#discount-formulary-results {
    margin-top: 20px;
}

#discount-formulary-table {
    width: 100%;
    border-collapse: collapse;
}

#discount-formulary-table th,
#discount-formulary-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#discount-formulary-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

#discount-formulary-table tr:hover {
    background-color: #f9f9f9;
}