/* --------------------------------
Брояч и hCaptcha
-------------------------------- */
.comment-controls {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}

.char-count {
padding: 5px 10px;
border: 2px solid #00eaff;
border-radius: 6px;
font-size: 0.9rem;
font-weight: bold;
color: #00eaff;
transition: all 0.3s ease;
}

.char-count.exceed {
border-color: red;
color: red;
}

/* --------------------------------
Таблици за коментари
-------------------------------- */

.guestbook-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 25px;
background-color: #001428;
border: 1px solid #00eaff;
border-radius: 8px;
overflow: hidden;
color: #ffffff;
}

.guestbook-table td {
padding: 10px 15px;
vertical-align: top;
word-wrap: break-word;
}

.guest-header td {
font-weight: bold;
border-bottom: 1px solid #00eaff;
}

.guest-header td:last-child {
text-align: right;
font-weight: normal;
font-size: 0.9rem;
color: #a0cfff;
}

.guestbook-table tr:nth-child(2) td {
border-bottom: 1px solid #00eaff;
}

.admin-reply {
background-color: #003366;
padding: 8px 12px;
border-left: 3px solid #00eaff;
margin-top: 5px;
border-radius: 5px;
color: #ffffff;
}

body.light-mode .guestbook-table {
background-color: #f0f8ff;
border: 1px solid #00eaff;
color: #000000;
}

body.light-mode .guestbook-table .guest-header td:last-child {
color: #555;
}

body.light-mode .admin-reply {
background-color: #e0f7ff;
color: #000000;
border-left: 3px solid #00bcd4;
}

@media (max-width: 768px) {
.guestbook-table td {
display: block;
width: 100%;
}

.guest-header td {
    display: flex;
    justify-content: space-between;
}

}

/* hCaptcha mobile fix */
.h-captcha {
transform: scale(0.95);
transform-origin: left top;
margin-top: 10px;
}

@media (max-width: 500px){
.h-captcha{
transform: scale(0.85);
}
}
