.comments-shell {
  box-sizing: border-box;
  height: 100%;
  margin-top: 0px;
 
  background-attachment: fixed;
  font-family: "MS UI Gothic", "Times New Roman", Times, serif;
  color: #506994;
  font-size: 12px;
}

.comments-head {
  margin-bottom: 8px;
  padding: 0;
}

.comments-title {
  position: relative;
  margin: 10px;
  padding: 0;
  text-align: left;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  font-style: italic;
  font-weight: bold;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(#bdc7db, #003187);
  background-color: black;
  user-select: none;
}

.comments-textarea-wrap {
  position: relative;
}
.comments-textarea-wrap::before {
  content: "";
  position: absolute;
top: -23px;
    right: -10px;
    width: 51px;
    height: 34px;
  background-image: url("../img/sleepy.gif");
  background-size: 51px 34px;
  background-repeat: no-repeat;
  image-rendering: pixelated;
   z-index: 5;
}
.comments-textarea-wrap:hover::before {
  animation: comments-bounce 0.5s ease;
}
@keyframes comments-bounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.comments-subtitle {
  display: none;
}

.comments-errors,
.comments-success {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #8a99b8;
  outline: 1px solid #fff;
  outline-offset: -2px;
  background: linear-gradient(to top, #d8e0ed, #ffffff);
  color: #495a8a;
}

.comments-errors p,
.comments-success p {
  margin: 0 0 4px;
}

.comments-errors p:last-child,
.comments-success p:last-child {
  margin-bottom: 0;
}

.comments-form {
 padding: 5px 5px 3px 5px;
  border: 0;
  background: transparent;
}

.comments-row {
  display: flex;
  flex-direction: row;
  gap: 5px;
  width: 100%;
  margin-bottom: 0;
}

.comments-input,
.comments-textarea {
  box-sizing: border-box;
  padding: 7px;
  font-family: "MS UI Gothic", "Times New Roman", Times, serif;
  font-size: 12px;
  color: #506994;
  border: 1px solid #8292ad;
  outline: none;
  background-color: #fff;
  user-select: none;
}
 

.comments-textarea {
  width: 100%;
  margin-top: 6px;
  resize: none;
  line-height: 16px;
}

.comments-input:focus,
.comments-textarea:focus {
  border: 1px solid var(--font);
}

.comments-form-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: -5px;
  margin-top: 0px;
}

.comments-replying {
  color: #506994;
  text-align: left;
  user-select: none;
  display: inline-flex;
  align-items: center;
  margin-left: 7px;
  margin-right: -3px;
}

.comments-submit,
.comments-cancel-reply,
.comment-reply-btn {
    margin: 5px 5px 5px 5px;
  cursor: url("../img/cursor/pointer.png"), pointer !important;
  padding: 4px 6px;
  font-family: "MS UI Gothic", "Times New Roman", Times, serif;
  text-decoration: none;
  text-align: center;
  background-color: black;
  background: linear-gradient(to top, #d8e0ed, #ffffff);
  border: 1px solid #8a99b8;
  outline: 1px solid #fff;
  outline-offset: -2px;
  color: #495a8a;
  font-size: 12px;
  line-height: 1;
  user-select: none;
  margin-right: 5px;
}

.comments-submit:hover,
.comments-cancel-reply:hover,
.comment-reply-btn:hover {
  color: #506994;
  border: 1px solid #97a4bf;
  background: linear-gradient(to bottom, #ced9eb, #fff);
}

.comments-submit:disabled,
.comments-cancel-reply:disabled,
.comment-reply-btn:disabled {
  opacity: 0.6;
}

.comments-list {
  display: block;
}

.comments-empty {
  color: #506994;
  margin-left: 5px;
    margin-top: -27px;
}

.comment-thread {
  margin-bottom: 13px;
}

.comment-card,
.comment-reply-card {
  padding: 10px;
  border: 1px solid var(--border);
  outline: 1px solid var(--outline);
  outline-offset: -4px;
  background-color: var(--bg);
  position: relative;
}

.comment-replies {
  display: none;
  margin-top: 6px;
  margin-left: 45px;
  padding: 0;
  background: transparent;
  border: 0;
}

.comment-reply-card {
  margin-top: 12px;
}

.comment-reply-card:first-child {
    margin-top: 12px;
}

.comment-meta {
  position: relative;
}

.comment-author-wrap {
  display: inline-block;
}

.comment-author {
  display: inline-block;
  margin: 0px 0px 0px 0;
  padding: 5px;
  font-family: "Times New Roman", Times, serif;
  font-size: 17px;
  font-weight: bold;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(#bdc7db, #003187);
  background-color: black;
  user-select: none;
}

.comment-website {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(#b9c3d7, #5175b3);
  background-color: black;
  text-transform: lowercase;
  text-decoration: underline dotted #91abd9;
  position: absolute;
  margin-top: 5px;
  user-select: none;
  font-size: 12px;
  margin-left: 1px;
}

.comment-website:hover {
  color: rgba(21, 29, 59, 0.3);
}

.comment-website:active {
  color: rgba(21, 29, 59, 0.5);
}

.comment-time {
  float: right;
  font-size: 13px;
  font-family: "Times New Roman", Times, serif;
  color: #adbddb;
  font-style: italic;
  margin: 5px;
  user-select: none;
  white-space: nowrap;
}

.comment-body {
  margin: 0;
  margin-left: 0;
  padding:5px;
  background-color: white;
  font-family: "MS UI Gothic", "Times New Roman", Times, serif;
  color: var(--font);
  font-size: 12px;
  line-height: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}

.comment-actions {
}

.comment-actions .comment-reply-btn {
margin: 5px 3px 5px 5px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  background-color: #ffffff !important;
  -webkit-text-fill-color: #1b386b !important;
}
.comments-pagination {
  text-align: center;
  margin-top: 10px;
}

.comments-pagination-btn {
  display: inline-block;
  padding: 4px;
  margin: 0 0px;
  font-family: "MS UI Gothic", "Times New Roman", serif;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  color: #495a8a;
  background: linear-gradient(to top, #d8e0ed, #ffffff);
  border: 1px solid #8a99b8;
  outline: 1px solid #fff;
  outline-offset: -2px;
  box-sizing: border-box;
  user-select: none;
}

.comments-pagination-btn:hover {
  color: #506994;
  border: 1px solid #97a4bf;
  background: linear-gradient(to bottom, #ced9eb, #fff);
}

.comments-pagination-btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.comment-expand-btn,
.comment-reply-btn,
.comments-submit,
.comments-cancel-reply {
  cursor: pointer;
  padding: 4px;
  font-family: "MS UI Gothic", "Times New Roman", serif;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(to top, #d8e0ed, #ffffff);
  border: 1px solid #8a99b8;
  outline: 1px solid #fff;
  outline-offset: -2px;
  color: #495a8a;
  font-size: 12px;
  line-height: 1;
  user-select: none;
}

.comment-expand-btn:hover,
.comment-reply-btn:hover,
.comments-submit:hover,
.comments-cancel-reply:hover {
  color: #506994;
  border: 1px solid #97a4bf;
  background: linear-gradient(to bottom, #ced9eb, #fff);
}
.comments-pagination-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.comments-pagination-btn:disabled,
.comments-pagination-btn:disabled:hover {
  opacity: 0.6;
  cursor: default;
  color: #495a8a;
  border: 1px solid #8a99b8;
  background: linear-gradient(to top, #d8e0ed, #ffffff);
}
        .comment-admin-inline-meta {
            margin-left: 6px;
            font-size: 12px;
            color: #506994;
            font-weight: normal;
        }

        .comment-admin-inline-meta a {
            color: #495a8a;
            text-decoration: underline dotted #91abd9;
        }

        .comment-author {
            display: inline-block;
            margin: 0px 0px 0px 0;
        }

        .comment-admin-form {
           margin-top: 2px;
    padding-top: 8px;
            border-top: 1px solid #c4cfdf;
        }

        .comment-admin-edit-fields {
            margin-bottom: 8px;
        }

        .comment-admin-top-fields {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 8px;
        }

        .comment-admin-input,
        .comment-admin-textarea {
            box-sizing: border-box;
            padding: 7px;
            font-family: "MS UI Gothic", "Times New Roman", Times, serif;
            font-size: 12px;
            color: #506994;
            border: 1px solid #8292ad;
            outline: none;
            background-color: #fff;
        }

        .comment-admin-input {
            width: 100%;
            margin-bottom: 8px;
        }

        .comment-admin-small-input {
            width: 150px !important;
            min-width: 150px;
            max-width: 150px;
            margin-bottom: 0 !important;
        }

        .comment-admin-textarea {
            width: 100%;
            resize: none;
            line-height: 16px;
            white-space: pre-wrap;
        }

        .comment-admin-input:focus,
        .comment-admin-textarea:focus {
            border: 1px solid #506994;
        }

        .comment-admin-input::placeholder {
            color: #6d7f9f;
            opacity: 1;
        }

        .comment-admin-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            margin-top: 4px;
        }

        .comment-admin-actions-left {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            align-items: center;
        }

        .comment-admin-actions-right {
            margin-left: auto;
            text-align: right;
        }

        .comment-admin-ip {
            font-size: 12px;
            color: #506994;
            white-space: nowrap;
        }

        .comment-admin-actions button {
            cursor: pointer;
            padding: 4px 6px;
            font-family: "MS UI Gothic", "Times New Roman", Times, serif;
            text-align: center;
            background: linear-gradient(to top, #d8e0ed, #ffffff);
            border: 1px solid #8a99b8;
            outline: 1px solid #fff;
            outline-offset: -2px;
            color: #495a8a;
            font-size: 12px;
            line-height: 1;
            user-select: none;
        }

        .comment-admin-actions button:hover {
            color: #506994;
            border: 1px solid #97a4bf;
            background: linear-gradient(to bottom, #ced9eb, #fff);
        }

        .comments-shell {
            margin-top: -8px;
        }

        .comments-list {
            display: block;
        }

        .comment-thread {
            display: block;
            margin-bottom: 12px;
            scroll-margin-top: 24px;
        }

        .comment-thread > .comment-card,
        .comment-thread > .comment-reply-card {
            margin-left: 0 !important;
        }

        .admin-comment-replies {
            margin-top: 8px;
            margin-left: 45px;
        }

        .admin-comment-replies > .comment-thread {
            margin-bottom: 10px;
        }

        .admin-comment-replies .comment-reply-card {
            margin-left: 0 !important;
        }