﻿/* Fix JU Tracking Number table column widths */
#tracking_section th:nth-child(1),
#tracking_section td:nth-child(1) {
    width: 100px;
}

#tracking_section th:nth-child(2),
#tracking_section td:nth-child(2) {
    width: auto;
}

#tracking_section th:nth-child(3),
#tracking_section td:nth-child(3) {
    width: 120px;
}

body {
    /*font-family: Arial, sans-serif;*/
    /*font-family: "Courier New", Courier, monospace;*/
    margin: 40px auto;
    padding: 20px;
    max-width: 900px; /* Increased max width */
    background-color: #f4f4f4;
}

body, input, select, textarea, button {
    /*font-family: 'Fira Code', monospace;*/
    font-family: 'JetBrains Mono', monospace;
}


/* Apply to table headers */
th {
    background-color: #44475a; /* Solarized Dark Blue */
    color: #f8f8f2; /* Light text */
    padding: 8px;
    text-align: left;
}

.tab-content .ju-subtable {
    font-size: 0.95em;
    background-color: #fcfcfc;
    border: 1px solid #ccc;
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

h2, h3 {
    text-align: center;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}

    td input, td select {
        width: 100%;
        padding: 6px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

.add-btn, .remove-btn {
    cursor: pointer;
    color: white;
    background: #28a745;
    padding: 6px 12px;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    width: 60px;
}

.remove-btn {
    background: #dc3545;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

    button:hover {
        background: #0056b3;
    }

    button:disabled {
        background-color: #a0a0a0 !important; /* Gray background */
        color: #ffffff !important; /* Light text */
        cursor: not-allowed !important; /* Show "disabled" cursor */
        opacity: 0.5; /* Make it slightly transparent */
    }

/*companies autocomplete*/
/* Autocomplete dropdown */
.autocomplete-box {
    font-size: 14px;
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    z-index: 100;
    max-height: 150px;
    overflow-y: auto;
    width: 150px;
}

.autocomplete-item {
    font-size: 14px;
    padding: 8px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

    .autocomplete-item:hover {
        background: #f0f0f0;
    }

.match-message {
    font-size: 0.9em;
    margin-top: 5px;
}

    .match-message.success {
        color: green;
    }

    .match-message.error {
        color: red;
    }

.sign-out {
    text-align: right;
}

.tabs {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

    .tabs a {
        padding: 10px 20px;
        background-color: #e0e0e0;
        border-radius: 6px;
        text-decoration: none;
        color: black;
    }

        .tabs a.active {
            background-color: #2196F3; /* 💙 Bright blue for the active tab */
            color: white;
        }

.content {
    text-align: center;
    margin-top: 40px;
}