#device-image {
    display: block;
    max-width: 25%;
    max-height: 400px;
    margin: 0 auto;
}
.failure-item  {
    display: block;
    margin: 0 auto;
    width: 50%;
    /* min-width: fit-content; */
    /* text-decoration: none; */
}
.failure-header {
    cursor: pointer;
    color:  rgb(0, 0, 95);
    background-color: white;
    padding: 20px;
    margin: 20px 0 auto auto;
    font-weight: bold;
    border-radius: 10px;
    text-align: center;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.08),
        0 2px 6px rgba(0,0,0,0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.failure-header :hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.10),
    0 3px 10px rgba(0,0,0,0.07);
}
.failure-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-weight: bold;
    color: #444;
}
.failure-item.open .failure-content {
    max-height: 200px; /* μπορείς να το αυξήσεις */
    margin-top: 8px;
}
.failure-details {
    background-color: rgb(236, 236, 236);
    padding: 40px;
    border-radius: 0 0 40px 40px;
    display: flexbox;
}
.failure-content ul {
    list-style-position: inside;
    list-style-type: disc;

}
.cost {
        color: #444;
        text-align: center;
        padding: 15px;
        /* background-color: lightgray; */
        text-decoration: none;
}

.call-from-failure {
        color: #444;
        text-align: center;
        display: flex;
        padding: 15px;
        align-items: center;
        justify-content:space-evenly;
        background-color: lightgray;
        text-decoration: none;
        border-radius: 20px;
}



.prompt {

}
@media only screen and (orientation: portrait) {
    .failure-item  {
        width: 80%;
    }
    #device-image {
        max-width: 70%;
        max-height: 300px;
    }

    .failure-header {

        padding: 20px;
        margin: 20px 0 auto auto;

        border-radius: 10px;
        /* box-shadow:
            0 10px 25px rgba(0,0,0,0.08),
            0 2px 6px rgba(0,0,0,0.06); */
    }
    .failure-details {
        padding: 20px;
        border-radius: 0 0 20px 20px;
    }

    .cost {
        width: 100%;
        text-align: center;
        margin-left: unset;
    }
    .call-from-failure {
        color: #444;
        text-align: center;
        /* display: block; */
        padding: 15px;
        background-color: lightgray;
        text-decoration: none;
    }
    .call-from-failure :active {
        color: unset;
    }

    .call-from-failure :visited {
        color: unset;
    }
    .call-from-failure img {
        max-height: 40px;
        }
}