/* Estilos generales */
.top-bar {
    background-color: #333;
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
    padding: 0.5rem 0;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: #000;
    font-weight: 500;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover {
    color: #fcd535;
}

.icon-menu {
    font-size: 1.2rem;
    color: #000;
    margin: 0 10px;
    text-decoration: none;
}

.icon-menu:hover {
    color: #fcd535;
}

/* Contenido principal */
.content {
    margin: 0;
    font-family: Arial, sans-serif;
    background: radial-gradient(circle, rgba(252,213,53,1) 40%, rgba(255,255,255,0) 100%);
    background-color: #fcd535;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 100px;
}

@media (max-width: 1024px) {
    .content {
        padding-top: 120px;
    }
}

.tracking-card {
    margin-top: -250px;
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.tracking-card h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.tracking-card .icon {
    font-size: 3rem;
    color: #fcd535;
    margin-bottom: 1rem;
}

.tracking-card .form-check {
    display: inline-block;
    margin: 0 1rem;
}

.tracking-card .form-control {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.tracking-card .btn {
    background-color: #fcd535;
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-top: 1rem;
}

.tracking-card .btn:hover {
    background-color: #e0b72f;
}

/* Footer */
.footer {
    margin-top: -50px;
    background-color: #333;
    color: #fff;
    padding: 2rem;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer h5 {
    font-size: 1rem;
    font-weight: bold;
}

/* Progreso de la orden */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 800px;
    position: relative;
}

.progress-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.progress-step i {
    font-size: 30px;
    background: #fff;
    border: 4px solid #d3d3d3;
    border-radius: 50%;
    padding: 15px;
    color: #d3d3d3;
    z-index: 2;
    position: relative;
}

.progress-step.active i {
    border-color: #f8c727;
    color: #f8c727;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: #d3d3d3;
    z-index: 1;
    transform: translateY(-50%);
}

.progress-step.active ~ .progress-step .progress-line {
    background: #d3d3d3;
}

.progress-step.active + .progress-step .progress-line,
.progress-step.active .progress-line {
    background: #f8c727;
}

.progress-step:first-child .progress-line {
    left: 50%;
}

.progress-step:last-child .progress-line {
    right: 50%;
}

.progress-step p {
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

/* Detalle de la orden */
.detalle-orden {
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.detalle-orden h5 {
    font-weight: bold;
    color: #555;
    margin-bottom: 15px;
}

.detalle-orden p {
    margin: 5px 0;
    color: #666;
}

.detalle-orden .acciones {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.detalle-orden .acciones a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.detalle-orden .acciones a:hover {
    text-decoration: underline;
}

/* Alertas */
.alert {
    border-radius: 10px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .tracking-card {
        margin-top: -150px;
        padding: 1.5rem;
    }
    
    .progress-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-step {
        width: 100%;
    }
    
    .progress-line {
        display: none;
    }
}

/* Estados específicos */
.cancelada-message {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 10px 0;
}
