/* Form Elements & Inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

textarea {
    height: 120px;
    resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(40, 157, 204, 0.2);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    background-color: #0044ff; /* Vivid blue like screenshot */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

button:hover,
input[type="submit"]:hover {
    background-color: #0033cc;
}

/* Widgets Search Form */
.widget .search-form {
    display: flex;
    gap: 10px;
}

.widget .search-form .search-field {
    flex: 1;
}

/* Comments Section */
.post-comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.comments-title,
.comment-reply-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.comment-list .children {
    list-style: none;
    padding-left: 0;
    margin-left: 20px;
    border-left: 2px solid var(--border-color);
}

@media (min-width: 600px) {
    .comment-list .children {
        margin-left: 40px;
    }
}

.comment-list .comment {
    margin-bottom: 25px;
}

.comment-body {
    position: relative;
    padding: 20px;
    padding-left: 70px;
    background-color: var(--bg-color);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.comment-author .avatar {
    position: absolute;
    left: 20px;
    top: 20px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.comment-author .fn {
    font-weight: 700;
    font-size: 1.05rem;
    font-style: normal;
    color: var(--primary-color);
}

.comment-author .says {
    display: none;
}

.comment-meta,
.comment-metadata {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.comment-meta a,
.comment-metadata a {
    color: var(--text-muted);
    text-decoration: none;
}

.comment-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

.comment-content p {
    margin-bottom: 10px;
}

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

.reply {
    margin-top: 15px;
}

.comment-reply-link {
    display: inline-block;
    padding: 4px 12px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
}

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

.comment-respond {
    background-color: transparent;
    padding: 0;
    border: none;
    margin-top: 20px;
}

.comment-reply-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.comment-form-comment {
    margin-bottom: 15px;
}

.comment-form-author,
.comment-form-email {
    display: inline-block;
    width: calc(50% - 10px);
    margin-bottom: 20px;
    vertical-align: top;
}

.comment-form-author {
    margin-right: 15px;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent {
    display: none;
}

@media (max-width: 600px) {
    .comment-form-author,
    .comment-form-email {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}
