/* Contenedor principal del resultado */
#actruck-ai-result {
    margin-top: 30px;
    width: 100%;
}

/* Mensaje mientras analiza */
.actruck-loading {
    padding: 25px;
    text-align: center;
    background: #f4f4f4;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    animation: pulse 1.5s infinite;
}

/* Tarjeta de diagnóstico */
.actruck-card {

    background: white;
    border-radius: 20px;
    padding: 30px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);

    text-align: center;

    animation: aparecer 0.5s ease;

}


/* Título */
.actruck-card h2 {

    margin-bottom: 15px;

    color: #1c1c1c;

}


/* Estado */
.actruck-status {

    font-size: 24px;

    font-weight: 700;

    margin-bottom: 20px;

}


/* Barra completa */
.actruck-progress {

    width: 100%;

    height: 25px;

    background: #eeeeee;

    border-radius: 20px;

    overflow: hidden;

    margin: 20px 0;

}


/* Barra de porcentaje */
.actruck-progress-bar {

    height: 100%;

    border-radius: 20px;

    transition: width 1s ease;

}


/* Texto final */
.actruck-card p {

    font-size: 16px;

    line-height: 1.6;

    color: #555;

}


/* Error */
.actruck-error {

    padding: 20px;

    background: #ffe5e5;

    border-left: 6px solid #dc3545;

    border-radius: 10px;

    color: #b00000;

    font-weight: 600;

}


/* Animaciones */

@keyframes aparecer {

    from {

        opacity: 0;

        transform: translateY(20px);

    }


    to {

        opacity: 1;

        transform: translateY(0);

    }

}


@keyframes pulse {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }

}


/* Responsive móvil */

@media(max-width:768px){

    .actruck-card{

        padding:20px;

    }


    .actruck-status{

        font-size:20px;

    }


}