#c-border {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    background-color: #ffffff;
}

.comment,
#addCommentContainer {
    padding: 1rem;
    position: relative;
    color: #718096;
}

.comment:not(:last-child) {
    border-bottom: 1px solid #f8fafc;
}

.comment .name {
    font-size: 0.9rem;
    color: #1897b1;
    max-width: 580px;
    font-weight: 600;
    display: inline-block;
}

.comment .date {
    font-size: 0.7rem;
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #94a3b8;
    padding: 0;
}

.msg-delete {
    position: relative;
    text-align: right;
    margin-top: 0.25rem;
}

.btn_del {
    background-color: #fee2e2;
    color: #ef4444;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    text-align: center;
    font-size: 10px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.btn_del:hover {
    background-color: #fca5a5;
    color: #b91c1c;
}

/* Modernized comment box: removed the dated speech triangle, added subtle rounding */
.msg-body {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    background: #f8fafc;
    margin: 0.5rem 0 0 0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    word-break: break-word;
    border: 1px solid #f1f5f9;
}

#addCommentContainer p {
    font-size: 1rem;
    margin: 0 0 1rem 0;
    color: #64748b;
    font-weight: 500;
}

#addCommentContainer input[type=text],
#addCommentContainer textarea {
    /* Modernized inputs with subtle rounding and muted borders */
    display: block;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    width: 100%;
    padding: 0.375rem;
    font-size: 0.75rem;
    color: #475569;
    margin: 0.25rem 0 0.75rem 0;
    background-color: #fafafa;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

#addCommentContainer input[type=text]:focus,
#addCommentContainer textarea:focus {
    border-color: #94a3b8;
    outline: none;
    background-color: #ffffff;
}

#addCommentContainer textarea {
    height: 100px;
    resize: vertical;
}

#addCommentContainer label {
    font-size: 0.6rem;
    padding: 0;
    color: #94a3b8;
    font-weight: 500;
}

#addCommentContainer label span.error {
    font-size: 0.6rem;
    color: #ef4444;
    padding-left: 0.25rem;
}

#submit {
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    background-color: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    margin: 0;
    border: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

#submit:hover {
    background-color: #cbd5e1;
    color: #1e293b;
}