.card{
    display:flex;
    align-items:flex-start;
    gap:24px;

    background:#ffffff;
    border-radius:24px;
    padding:26px;

    border:1px solid #e7e7e7;

    box-shadow:
        0 4px 18px rgba(0,0,0,0.05);

    transition:0.2s;
}

.card:hover{
    transform:translateY(-2px);

    box-shadow:
        0 8px 24px rgba(0,0,0,0.08);
}

.content{
    flex:1;
    min-width:0;
}

/*.lcd-screen{
    font-family: dotLcd, monospace;
    white-space: pre;
} */

.id{
    font-size:24px;
    font-weight:700;

    color:#0057d9;

    margin:0 0 12px 0;
}

.description{
    font-size:17px;
    line-height:1.6;

    color:#333;
}

@font-face{
    font-family:dotLcd;
    src:url(/fa/LCD16x2.ttf);
}

/* -------------------------------------------------- */
/* LCD */
/* -------------------------------------------------- */

.lcd{
    flex:0 0 auto;
    background:#050505;
    border-radius:18px;
    padding:10px;
    box-shadow:
        inset 0 0 20px rgba(255,255,255,0.03),
        0 4px 12px rgba(0,0,0,0.25);
}

.lcd-screen{
    font-family:dotLcd, monospace;
    font-size:22px;
    line-height:1.15;
    color:#f4f7ff;
    background:
        linear-gradient(
            180deg,
            #0b67ff 0%,
            #0052e0 100%
        );

    padding:18px 20px;
    border-radius:4px;
    width:19ch;
    overflow:hidden;
    box-sizing:border-box;
    box-shadow:
        inset 0 0 18px rgba(255,255,255,0.10),
        inset 0 -6px 10px rgba(0,0,0,0.18);
}

.line{
    white-space:pre;
    height:34px;
    line-height:34px;
    letter-spacing:1px;
    /*white-space: pre-wrap;*/
    overflow:hidden;
}


.card{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:30px;
}

.lcd{
    flex-shrink:0;
}

.content{
    flex:1;
}

.id{
    margin:0 0 15px 0;
}


/** serach input*/
#search{
    width:100%;
    max-width:500px;

    padding:14px 18px;

    font-size:16px;

    border:1px solid #d8d8d8;
    border-radius:14px;

    background:#fff;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.04);

    transition:
        border-color .2s,
        box-shadow .2s;

    outline:none;
}

#search:focus{
    border-color:#0b67ff;

    box-shadow:
        0 0 0 4px rgba(11,103,255,0.15);
}

#search::placeholder{
    color:#999;
}

.input-group .btn{
    min-width:42px;
}

.search-wrapper{
    position:relative;
    max-width:500px;
    margin:auto;
}

.search-wrapper input{
    padding-right:40px;
}

.search-clear{
    position:absolute;
    right:12px;
    top:50%;

    transform:translateY(-50%);

    border:0;
    background:none;

    font-size:22px;
    line-height:1;

    color:#999;
    cursor:pointer;
}

.search-clear:hover{
    color:#333;
}




@media (max-width: 768px){

    .card{
        flex-direction: column;
        gap: 20px;
         padding:10px;
          flex-direction:column;
    }

    .lcd{
        width: 100%;
        overflow-x: auto;
    }
    .lcd-screen{
    width:auto;
    min-width:19ch;
     font-size:18px;
}

    .content{
        width: 100%;
    }

    .id{
        font-size: 20px;
    }

    .description{
        font-size: 16px;
    }
     .line{
        height:28px;
        line-height:28px;
    }

}
