/*----------------------------------------*/
/* 1. Theme Variables & Root Settings
/*----------------------------------------*/


:root {
    /* Theme Colors - Default Light Theme */
    --theme-primary: #0073aa;
    --theme-secondary: #f9f9f9;
    --theme-background: #ededed;
    --theme-text: #555;
    --theme-text-muted: #6b6b6b;
    --theme-border: #d5d5d5;
    --theme-link: #1961cb;
    --theme-success: #39c831;
    
    /* Core Colors */
    --primary-color: var(--theme-text);
    --secondary-color: var(--theme-background);
    --border-color: var(--theme-border);
    --focus-border-color: #0073aa;
    --checkbox-background: #c6c6c6;
    --checkbox-checked-background: var(--theme-success);
    --font-color-dark: var(--theme-text);
    --font-color-light: var(--theme-text);
    --font-color-muted: var(--theme-link);
    --font-color-date: var(--theme-text);
    --button-background: var(--theme-primary);
    --button-hover-background: #c17810;
    --comment-meta-text-color: #858585;
    --comment-meta-link-color: #858585;
    --comment-author-text-color:#555;
    --comment-author-link-color: #0073aa;

    /* Typography */
    --font-size-small: 12px;
    --font-size-medium: 14px;
    
    /* Spacing */
    --padding-default: 30px;
    --margin-default: 30px;
    --margin-small: 20px;
    
    /* Effects */
    --border-radius: 3px;
}

/*----------------------------------------*/
/* 2. Comments Area Container
/*----------------------------------------*/
.comments-area {
    margin-top: var(--margin-default);
    padding: var(--padding-default);
    background-color: var(--secondary-color);
    border: 0px solid var(--border-color);
    border-radius: 0;
    box-shadow:0px 1px 1px 1px rgb(200 200 200 / 21%);
}

.comments-area .comments-title {
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    color: #333;
}

.comments-title.icon__comment-alt:before{
    font-weight: 400;
}

/*----------------------------------------*/
/* 3. Comments List & Structure
/*----------------------------------------*/
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
    margin-bottom: var(--margin-small);
}

.comment-list li:last-child {
    margin-bottom: 0;
}

/*----------------------------------------*/
/* 4. Individual Comment Styling
/*----------------------------------------*/
.comment {
    position: relative;
    background-color: var(--theme-secondary);
    border-radius: 5px;
    padding: var(--padding-default);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 7px;
}

.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    object-fit: cover;
}

.comment-author .fn {
    font-weight: 500;
    color: var(--comment-author-text-color);
    font-size: 16px;
}

.comment-author .fn a{
    color: var(--comment-author-link-color);
}

.comment-author .fn a:hover{
    text-decoration:underline;
}

.comment .comment-awaiting-moderation{
    font-size: 11px;
    color: var(--theme-primary);
    font-style: italic;
}

/*----------------------------------------*/
/* 5. Comment Content & Metadata
/*----------------------------------------*/
.comment-meta {
    font-size: 13px;
    color: var(--comment-meta-text-color);
    margin-bottom: 15px;
}

.comment-meta a{
    color: var(--comment-meta-link-color);
}

.comment-meta a:hover{
    text-decoration:underline;
}

.comment-meta a:before{
    font-family: 'wptime_tf_icons';
    content: '\e803';
    margin-right: 5px;
}

/*
.comment-content {
    color: var(--font-color-light);
    line-height: 1.6;
    font-size: var(--font-size-medium);
}
*/

.comment-body p {
    font-size: 14px;
    margin-bottom: 15px;
}

.comment-body p:last-child{
    margin-bottom:0;
}

.comment-body p:empty{
    display: none !important;
}

.comment-body pre {
    background: #f2f2f2;
    padding: 15px;;
    border-radius: 3px;
    overflow-x: auto;
    margin: 10px 0;
    font-family: 'Consolas', Monaco, 'Andale Mono', monospace;
    font-size: 14px;
}

.comment-body code {
    background: #f2f2f2;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: 'Consolas', Monaco, 'Andale Mono', monospace;
    font-size: 14px;
}

.comment-body strong{
    font-weight: 500;
    font-size: 14px;
}

/*----------------------------------------*/
/* 6. Nested Comments
/*----------------------------------------*/
.children {
    margin-left: 30px;
    margin-top: var(--margin-small);
}

.children li.odd {
    background: var(--theme-background);
    border-left: 3px solid var(--theme-border);
}

.children li.even {
    background: var(--theme-secondary);
    border-left: 3px solid var(--theme-border);
}

/*----------------------------------------*/
/* 7. Comment Form
/*----------------------------------------*/
#respond {
    margin-top: 30px;
}

#respond:first-child{
    margin-top:0;
}

#respond h4{
    font-size:18px;
    color: #333;
    font-weight:500;
}

#respond  small a{
    color: var(--theme-primary);
}

#respond p.comment-notes, .comment-form p.logged-in-as{
    font-size:16px;
    color:#777;
}

.comment-form p {
    margin-bottom: 20px;
    font-size: 18px;
}

.comment-form p:last-child, .comment-form .form-submit {
    margin-bottom: 0;
}

.comment-form p label {
    font-size: 18px;
    color: var(--theme-text);
}

.comment-form p .required {
    color: #e7280c;
}

/*----------------------------------------*/
/* 8. Form Inputs & Controls
/*----------------------------------------*/
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.2s ease;
    display: block;
    background-color: #fff;
    color: var(--theme-text);
    padding: 12px;
    box-sizing: border-box;
    font-size: 14px;
    margin-top:3px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    background-color: #fff;
    border-color: var(--focus-border-color);
    outline: none;
}

.comment-form input[type="submit"] {
    width: auto;
    background-color: #007cba; /* Default WordPress button background */
    color: #ffffff; /* Default WordPress button text color */
    border: 1px solid #007cba; /* Default WordPress button border */
    border-radius: 5px;
    padding: 8px 20px;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.1s ease-in-out, border-color 0.1s ease-in-out, color 0.1s ease-in-out;
}

.comment-form input[type="submit"]:hover {
    background-color: #006799; /* Hover background color */
    border-color: #006799; /* Hover border color */
    color: #ffffff; /* Hover text color */
}

.comment-form input[type="submit"]:active {
    background-color: #005177; /* Active background color */
    border-color: #005177; /* Active border color */
    color: #ffffff; /* Active text color */
}


.comment-form textarea{
    height: 150px;
}

/*----------------------------------------*/
/* 9. Checkbox Toggle
/*----------------------------------------*/
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 7px;
}

.comment-form p.comment-form-cookies-consent label {
    font-size: 14px;
    line-height: 20px;
    color: #777;
    cursor:pointer;
}

.comment-form-cookies-consent input[type="checkbox"] {
    position: relative;
    width: 36px;
    height: 20px;
    appearance: none;
    background-color: var(--checkbox-background);
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.comment-form-cookies-consent input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: white;
    border-radius: 50%;
    top: 2.5px;
    left: 3px;
    transition: transform 0.3s;
}

.comment-form-cookies-consent input[type="checkbox"]:checked {
    background-color: var(--checkbox-checked-background);
}

.comment-form-cookies-consent input[type="checkbox"]:checked::before {
    transform: translateX(16px);
}

/*----------------------------------------*/
/* 10. Navigation & Actions
/*----------------------------------------*/
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: var(--margin-default);
}

.comment-navigation a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.comment-navigation a:hover {
    background-color: var(--primary-color);
    color: white;
}

/*----------------------------------------*/
/* 11. Reply Links & Badges
/*----------------------------------------*/
.reply {
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-block;
    font-size: 11px;
    color: #888;
    border: 1px solid #c2c2c2;
    padding: 1px 5px;
    border-radius: 5px;
    text-decoration: none;
    transition: all ease-in-out 0.2s;
    background-color: #fff;
}

.comment-reply-link:hover{
    text-decoration:none;
    color:#fff;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.comment-reply-link:before{
    font-family: 'wptime_tf_icons';
    content: '\f112';
    margin-right: 5px;
}

.comment-time {
    display: inline-block;
    margin-left: 10px;
    color: var(--font-color-date);
}

.comment-author-badge {
    display: inline-block;
    padding: 2px 8px;
    background-color: #ebf8ff;
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    margin-left: 10px;
}

.no-comments{
    margin-top:20px;
}

/* Hide unnecessary elements */
.says {
    display: none;
}