﻿/*Iconos*/
.service-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/*Tracking*/
.trk-table.eq {
    width: 80%;
    table-layout: fixed; /* evita que el contenido cambie los anchos */
}

    .trk-table.eq th,
    .trk-table.eq td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap; /* opcional: evita que rompa el layout */
    }

/* Sencillo, limpio, sin depender de Bootstrap */
.trk-form {
    margin-bottom: 10px;
}

.trk-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.trk-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.trk-field input {
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    min-width: 220px;
}

.trk-actions button {
    padding: 7px 12px;
    border: 1px solid #111827;
    background: #111827;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

    .trk-actions button:hover {
        filter: brightness(1.1);
    }

.trk-error {
    color: #dc2626;
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.trk-summary {
    margin-top: 8px;
    color: #dc2626;
}

.trk-msg {
    margin: 12px 0;
    color: #b45309;
}

.trk-card {
    margin-top: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    background: #fff;
}

.trk-h3 {
    margin: 14px 0 8px;
    font-size: 16px;
}

.trk-kv {
    width: 100%;
    border-collapse: collapse;
}

    .trk-kv th, .trk-kv td {
        border: 1px solid #e5e7eb;
        padding: 8px;
        font-size: 13px;
    }

    .trk-kv th {
        width: 18%;
        text-align: left;
        background: #f9fafb;
        white-space: nowrap;
    }

    .trk-kv td {
        width: 32%;
    }

.trk-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}

    .trk-table th, .trk-table td {
        border: 1px solid #e5e7eb;
        padding: 8px;
        font-size: 13px;
    }

    .trk-table thead th {
        background: #f9fafb;
        text-align: left;
    }

    .trk-table tbody th {
        text-align: left;
        white-space: nowrap;
        font-weight: 700;
        width: 18%;
    }

@@media (max-width: 820px) {
    .trk-field input {
        min-width: 180px;
    }

    .trk-kv th {
        width: auto;
    }

    .trk-kv td {
        width: auto;
    }
}

/* Botones de descarga (POD / Invoice) */
.trk-doc-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.trk-doc-form {
    margin: 0;
}