#cross-reference-tool{
    padding: 2em 0;
}
#cross-reference-tool .table-block{
    margin-top: 15px;
}
#cross-reference-tool .table-block table thead tr{
    background-color: var(--tertiarycolor);
}
#cross-reference-tool .table-block table thead tr th{
    text-align: left;
    color: white;
}
#cross-reference-tool .actions{
    padding: 2em 0;
}
#cross-reference-tool .actions .btn{
    padding: 5px 25px;
    margin: 30px 0 0 0;
    font-size: 16px;
}
#cross-reference-tool .competitor-field{
    margin-bottom: 8px;
}
#cross-reference-tool .actions .add-prod{
    font-size: 18px;
}
#cross-reference-tool .entry-box{
    border: 1px solid var(--midgray);
    padding: 0; 
    height: 100%;
}
#cross-reference-tool .entry-box .topper{
    background-color: var(--lightgray);
}
#cross-reference-tool .entry-box .bottom{
    padding: 15px;
}
#cross-reference-tool .entry-box .topper h3{
    font-size: 16px;
    font-weight: 700;
    padding: 15px;
}
#cross-reference-tool .custom-file-upload input[type="file"] {
    display: none; /* Hide the default file input */
}

#cross-reference-tool .custom-file-upload label {
    font-size: 18px;
    cursor: pointer;
    color: var(--primarycolor);
    transition: color .15s;
}
#cross-reference-tool .custom-file-upload label:hover{
    color: var(--secondarycolor);
}
#cross-reference-tool .custom-file-upload label:before{
    content: "\f055";
    font-family: FontAwesome;
}
#cross-reference-tool #gform_fields_1 .gfield{
    margin-bottom: 10px;
}
#cross-reference-tool #gform_submit_button_1{
    border-radius: 7px;
    border-width: 1px;
    padding: 5px 25px;
    font-size: 16px;
    border: 1px solid var(--primarycolor);
    background: var(--primarycolor);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    text-align: center;
}

#cross-reference-tool #alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Alert container */
#cross-reference-tool #alert-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    z-index: 1001;
}

#cross-reference-tool #alert-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: red;
}

#cross-reference-tool #alert-message {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

#cross-reference-tool #alert-message a {
    color: blue;
    text-decoration: underline;
}

#cross-reference-tool #alert-close-btn {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background: red;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

#cross-reference-tool #alert-close-btn:hover {
    background: darkred;
}