
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Vazirmatn',sans-serif;

    background:#ffffff;

    color:#1e293b;

    min-height:100vh;
}

/* TITLE */

h1{

    text-align:center;

    margin:0px 0 50px;

    font-size:54px;

    font-weight:900;

    color:#1e293b;

    position:relative;
}

h1::after{

    content:"";

    width:140px;

    height:5px;

    margin:18px auto 0;

    display:block;

    border-radius:30px;

    background:
    linear-gradient(
    90deg,
    #1e293b,
    #1e293b
    );
}

/* FORM */

.comment-form{

    width:92%;

    max-width:900px;

    margin:auto;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:30px;

    padding:40px;

    box-shadow:
    0 20px 50px rgba(30,41,59,.08);
}

.comment-form input,
.comment-form textarea{

    width:100%;

    border:none;

    background:#f8fafc;

    padding:20px;

    border-radius:18px;

    font-size:18px;

    color:#1e293b;

    margin-bottom:20px;

    transition:.3s;
}

.comment-form textarea{

    height:220px;

    resize:none;
}

.comment-form input:focus,
.comment-form textarea:focus{

    outline:none;

    background:white;

    box-shadow:
    0 0 0 3px rgba(30,41,59,.15);
}

/* BUTTON */

#send-comment{

    width:100%;

    border:none;

    cursor:pointer;

    padding:20px;

    border-radius:18px;

    font-size:20px;

    font-weight:900;

    background:
    linear-gradient(
    135deg,
    #1e293b,
    #1e293b;
    );

    color:#1e293b;

    transition:.35s;
}

#send-comment:hover{

    transform:translateY(-5px);

    box-shadow:
    0 15px 35px rgba(212,175,55,.35);
}

/* HR */

hr{

    width:250px;

    height:2px;

    border:none;

    margin:70px auto;

    background:
    linear-gradient(
    90deg,
    transparent,
    #1e293b,
    transparent
    );
}

/* COMMENTS */

#comments-list{

    width:92%;

    max-width:1100px;

    margin:0 auto 80px;

    display:grid;

    gap:25px;
}

/* CARD */

.comment-box{

    background:white;

    border-radius:25px;

    padding:30px;

    border:1px solid #e5e7eb;

    position:relative;

    transition:.35s;

    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(30,41,59,.06);
}

.comment-box::before{

    content:"";

    position:absolute;

    top:0;

    right:0;

    width:8px;

    height:100%;

    background:
    linear-gradient(
    180deg,
   #1e293b;
    #1e293b;
    );
}

.comment-box:hover{

    transform:translateY(-6px);

    box-shadow:
    0 20px 45px rgba(30,41,59,.12);
}

.comment-box h3{

    color:#1e293b;

    font-size:26px;

    font-weight:900;

    margin-bottom:18px;
}

.comment-box p{

    color:#000000;

    font-size:30px;

    line-height:2.2;
}

/* MOBILE */

@media(max-width:768px){

    h1{

        font-size:38px;
    }

    .comment-form{

        padding:25px;
    }

    .comment-form input,
    .comment-form textarea{

        font-size:16px;
    }

    .comment-box h3{

        font-size:22px;
    }

    .comment-box p{

        font-size:17px;
    }
}
h1{
    color:#1e293b;
}

h1::after{
    background:#1e293b;
}

.comment-form{
    border:1px solid #1e293b;
}

.comment-form input:focus,
.comment-form textarea:focus{

    box-shadow:
    0 0 0 3px rgba(30,41,59,.2);
}

#send-comment{

    background:#1e293b;

    color:white;
}

#send-comment:hover{

    background:#334155;

    box-shadow:
    0 15px 35px rgba(30,41,59,.25);
}

.comment-box::before{

    background:#1e293b;
}

.comment-box h3{

    color:#1e293b;
}

hr{

    background:
    linear-gradient(
    90deg,
    transparent,
    #1e293b,
    transparent
    );
}
.comment-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:18px;

gap:15px;

flex-wrap:wrap;

}

.comment-date{

font-size:14px;

color:#64748b;

background:#f8fafc;

padding:8px 14px;

border-radius:12px;

font-weight:700;

white-space:nowrap;

}
@media(max-width:768px){

.comment-header{

flex-direction:column;

align-items:flex-start;

}

.comment-date{

font-size:13px;

}

}