.showNorecordFound,
.empty-message-tracking-content {
    background-color: #ffe0e0;
    color: #b00020;
    padding: 12px 20px;
    margin: 15px 0;
    border-left: 5px solid #b00020;
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.awb-card {
    max-width: 70%;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 15px;
}

.awb-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

/* Only apply width & layout to the table */
.awb-card .table {
    width: 100%;
    margin: 0 auto;
    table-layout: fixed;
    border: 1px solid #000;
}

.awb-card th,
.awb-card td {
    word-wrap: break-word;
    border: 1px solid #000;
}

#txtawbno {
    height: 100px !important;
    border-radius: 10px !important;
}

/* 🔹 Responsive Adjustments */
@media (max-width: 768px) {
    .awb-card {
        max-width: 95%;
        padding: 12px;
    }

    .awb-card h4 {
        font-size: 1.25rem;
    }

    .awb-card .table {
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .awb-card {
        max-width: 100%;
        margin: 15px auto;
        padding: 10px;
    }

    .awb-card h4 {
        font-size: 1.1rem;
    }

    .awb-card .table {
        font-size: 0.6rem;
    }
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* Rate calculator */
.calculator-box {
    max-width: 1300px;
    margin: auto;
    background: #e9f4ff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Tabs */
.tabs {
    display: flex;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    background: #113a52;
    color: #fff;
    transition: background 0.3s, color 0.3s;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.tab+.tab {
    margin-left: 6px;
}

.tab.active {
    background: #2182c4;
    color: #fff;
}

/* Form layout */
.form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    background: #2182c4;
    padding: 18px;
    border-radius: 0 0 12px 12px;
}
/* Form item wrapper */
.form-item {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    margin: 0;
}
/* Labels */
.form-label {
    font-size: 16px !important;
    color: white !important;
    margin-bottom: 6px !important;
}

/* Inputs & selects */
.form-field {
    width: 100%;
    min-width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    background: #fff;
    padding: 6px 10px;
    height: 44px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    margin-bottom: 0px !important;
}

/* Fix select dropdown arrow alignment */
select.form-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%23195c82' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 8px;
    padding-right: 34px;
}

.form-field:focus {
    border-color: #2182c4;
    box-shadow: 0 0 0 3px rgba(33, 130, 196, 0.25);
}

/* Dimension group */
.dimension-group {
    display: flex;
    flex: 3;
    gap: 0;
}

.dimension-group .dimension-item {
    flex: 1;
}

.dimension-group .form-field {
    border-radius: 0;
    border-right: 1px solid #ddd;
}

.dimension-group .dimension-item:first-child .form-field {
    border-radius: 6px 0 0 6px;
}

.dimension-group .dimension-item:last-child .form-field {
    border-radius: 0 6px 6px 0;
    border-right: none;
}

/* Button */
.button {
    background: #009640;
    color: #fff;
    font-size: 16px;
    padding: 0 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    height: 44px;
    transition: background 0.3s, transform 0.2s;
    margin-top: 22px;
}

.button:hover {
    background: #007a33;
    transform: translateY(-2px);
}

/* Tab contents */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 768px) {

    /* Tabs become stacked */
    .tabs {
        flex-direction: column;
    }

    .tab {
        margin-left: 0 !important;
        border-radius: 0;
    }

        /* Form goes vertical, but tighter */
        .form-row {
            flex-direction: column;
            align-items: stretch;
            gap: 8px;
            padding: 12px;
        }
    
        .form-item,
        .dimension-group {
            flex: unset;
            width: 100%;
        }
    
        .dimension-group {
            flex-direction: column;
            gap: 8px;
        }
    
        .dimension-group .form-field {
            border-radius: 6px;
            border-right: 1px solid #ccc;
        }
    
        .form-label {
            margin-bottom: 4px;
            font-size: 12px;
        }
    
        .form-field {

            font-size: 15px;
        }
    
        .button {
            width: 100%;
            margin-top: 10px;
            height: 42px;
            font-size: 15px;
        }
                .nav-link .dn {
                    display: none !important;
                }
}

/* remove number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}