/* ===========================
   ESTILO GENERAL
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#f5f6f8;
    color:#111827;
    min-height:100vh;
    padding:50px 20px;
}

/* ===========================
   CONTENEDOR
=========================== */

.contenedor{
    max-width:850px;
    margin:auto;
}

h1{
    text-align:center;
    font-size:2.2rem;
    font-weight:700;
    color:#111827;
    margin-bottom:35px;
    letter-spacing:-1px;
}

/* ===========================
   BUSCADOR
=========================== */

.busqueda{
    display:flex;
    gap:15px;
    margin-bottom:25px;
}

.busqueda input{
    flex:1;
    height:60px;
    border:none;
    background:#ffffff;
    padding:0 20px;
    font-size:15px;
    border-radius:16px;

    box-shadow:
        0 2px 6px rgba(0,0,0,.04),
        0 10px 25px rgba(0,0,0,.06);

    transition:.25s;
}

.busqueda input:focus{
    outline:none;

    box-shadow:
        0 0 0 4px rgba(0,0,0,.05),
        0 15px 35px rgba(0,0,0,.08);

    transform:translateY(-2px);
}

.busqueda button{
    border:none;
    background:#111827;
    color:white;
    padding:0 30px;
    border-radius:16px;
    cursor:pointer;
    font-weight:600;

    box-shadow:
        0 5px 15px rgba(17,24,39,.2);

    transition:.25s;
}

.busqueda button:hover{
    background:#000;
    transform:translateY(-2px);
}

/* ===========================
   TARJETA TICKET
=========================== */

.ticket-card{
    background:white;
    border-radius:24px;
    padding:35px;

    box-shadow:
        0 5px 15px rgba(0,0,0,.03),
        0 15px 50px rgba(0,0,0,.07);

    animation:fadeUp .3s ease;
}

.ticket-card h2{
    font-size:1.4rem;
    margin-bottom:25px;
    color:#111827;
}

/* ===========================
   CAMPOS
=========================== */

.campo{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
    border-bottom:1px solid #edf0f3;
}

.campo:last-child{
    border-bottom:none;
}

.label{
    color:#6b7280;
    font-weight:600;
}

.campo span:last-child{
    color:#111827;
    font-weight:600;
}

.campo:last-child span:last-child {
    text-align: right;
    line-height: 1.6;
}


/* ===========================
   ESTATUS
=========================== */

.badge{
    padding:10px 18px;
    border-radius:100px;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.5px;
}

/* Abierto */

.estatus-abierto{
    color:#3b82f6;
    background:rgb(59, 131, 246);
}

/* En revisión */

.estatus-revision{
    color:#f59e0b;
    background:rgb(245, 159, 11);
}

/* Esperando usuario */

.estatus-usuario{
    color:#8b5cf6;
    background:rgba(139,92,246,.08);
}

/* Esperando tercero */

.estatus-tercero{
    color:#ff00d0;
    background:rgb(239, 68, 68);
}

/* Resuelto */

.estatus-resuelto{
    color:#51ff00;
    background:rgb(16, 185, 129);
}

/* Cerrado */

.estatus-cerrado{
    color:#00ffe1;
    background:rgb(20, 184, 165);
}

.estatus-default{
    color:#64748b;
    background:#f1f5f9;
}

/* ===========================
   MENSAJE DE ERROR
=========================== */

.error{
    background:#fff;
    padding:20px;
    border-radius:16px;
    color:#ef4444;
    box-shadow:
        5px 10px 20px rgba(0,0,0,.04);
}

/* ===========================
   ANIMACIÓN
=========================== */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(15px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

.subtitulo{
    text-align:center;
    color:#6b7280;
    margin-top:-20px;
    margin-bottom:35px;
    font-size:14px;
}

/* Contenedor centrado */
.col-md-12.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 25px;
    margin-top: 100px;
}

/* Botón VOLVER */
.btn-success {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 12px 45px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Efecto hover */
.btn-success:hover {
    background: #333333;
    color: #ffffff;
    border-color: #333333;
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.4);
}

/* Efecto al presionar */
.btn-success:active {
    transform: scale(0.95);
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}


/* CONTENEDOR GENERAL */
.tracking-container {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 55px 20px 70px;
}

/* ENCABEZADO */
.tracking-heading {
    text-align: center;
    margin-bottom: 35px;
}

.tracking-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E3EEFF;
    color: #f49f18;
    border-radius: 50%;
}

.tracking-icon i {
    font-size: 29px;
}

.tracking-heading h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #17243A;
    margin-bottom: 10px;
}

.tracking-heading .subtitulo {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

/* TARJETA DE BÚSQUEDA */
.tracking-card {
    background: #FFFFFF;
    padding: 35px;
    border-radius: 18px;
    border: 1px solid #EDF1F7;
    box-shadow: 0 8px 30px rgba(15,35,65,.07);
}

.card-heading h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 600;
    color: #17243A;
    margin-bottom: 8px;
}

.card-heading p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 25px;
}

/* ETIQUETA */
.tracking-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 9px;
}

/* CAMPO DE FOLIO */
.tracking-input {
    display: flex;
    align-items: center;
    height: 52px;
    margin-bottom: 20px;
    border: 1px solid #DCE3ED;
    border-radius: 9px;
    overflow: hidden;
    transition: .25s;
}

.tracking-input:focus-within {
    border-color: #0759E9;
    box-shadow: 0 0 0 3px rgba(7,89,233,.10);
}

.input-icon {
    padding: 0 14px;
    color: #64748B;
}

.tracking-input input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #334155;
    padding-right: 12px;
}

.tracking-input input::placeholder {
    color: #94A3B8;
}

/* BOTÓN */
.btn-buscar {
    width: 100%;
    height: 49px;
    background: #f8760c;
    color: #FFFFFF;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s ease;
}

.btn-buscar i {
    margin-right: 7px;
}

.btn-buscar:hover {
    background: #d78406;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(7,89,233,.20);
}

/* SEGURIDAD */
.tracking-security {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 22px;
    font-size: 12px;
    color: #64748B;
}

.tracking-security i {
    color: #16A34A;
    font-size: 15px;
}

/* VOLVER */
.tracking-back {
    text-align: center;
    margin-top: 30px;
}

.tracking-back a {
    color: #db6206;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

.tracking-back a:hover {
    color: #db6209;
}

.tracking-back i {
    margin-right: 5px;
}

/* RESPONSIVE */
@media (max-width: 576px) {

    .tracking-container {
        padding: 40px 16px;
    }

    .tracking-heading h1 {
        font-size: 24px;
    }

    .tracking-card {
        padding: 24px 20px;
    }

}
