/*
    script  : comment.css
    written : June 2025
    authors : JR, DM
    purpose : Review comment classes 
    version : 2.0.3
*/

.review_comment {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.review_comment hr {
    border-top: 1px solid #9F2305;
}

.review_comment h2 {
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    color: #f4e8e8;
    letter-spacing: 1.5;
}

.review_comment form {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin: 20px auto;
}

.review_comment form fieldset {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #9a9797;
    border-radius: 5px;
    padding: 10px;
}

.review_comment form legend {
    color: #f4e8e8;
    padding: 5px 10px;
}

.review_comment form fieldset .field label {
    color: #f4e8e8;
    font-size: 18px;
}

.review_comment form fieldset input[type="submit"] {
    width: 15%;
    height: 30px;
    background-color: #af9494;
    border: 1px solid #6b5959;
    border-radius: 5px;
    color: #f7f4f4;
    font-size: 18px;
    font-weight: 700;
    margin: 60px auto 10px;
    cursor: pointer;
}

.review_comment form fieldset input[type="submit"]:hover {
    background-color: #f7f4f4;
    color: #af9494;
}

.review_comment form fieldset input[type="text"] {
    background-color: #e8d8d8;
    border: 1px solid #504c4c;
    color: #a82d2d;
}

.review_comment form fieldset textarea {
    width: 80%;
    height: 300%;
    resize: none;
    background-color: #e8d8d8;
    color: #a82d2d;
    padding: 10px;
}

.current_comments {
    margin: 10px 20%;
}

.current_comments .comment_header {
    margin-bottom: 5px;
    color: #cfbcbc;
    font-size: 16px;
}

.current_comments .comment_body {
    color: #ad9898;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
}

.current_comments .comment_body a {
    cursor: pointer;
}

.current_comments .comment_body a:hover {
    opacity: 0.5;
}

.comment_footer {
    margin: 20px auto;
}

.comment_footer a {
    display: inline-block;
    width: 150px;
    height: 30px;
    background-color: #af9494;
    border: 1px solid #6b5959;
    border-radius: 5px;
    color: #f7f4f4;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding-top: 5px;
    text-align: center;
}

.comment_footer a:hover {
    background-color: #f7f4f4;
    color: #af9494;    
}

/* Table css */
#profile-container table {    
    font-weight: normal;
    border-radius: 5px;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    background-color: #e45555;
    padding: 10px;
}