/*
Theme Name:   Astra Child
Theme URI:    https://wpastra.com/
Description:  Child theme of Astra - A lightweight and fast WordPress theme
Author:       Brainstorm Force
Author URI:   https://www.brainstormforce.com/
Template:     astra
Version:      1.0.0
License:      GPL v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
*/

/* Add your custom styles below this line */
.post-14352 .user-registration-profile-header header .button {
	color: #FFFFFF !important;
}
.post-14352 .user-registration-profile-fields span i {
	display: none;
}
.post-14352 .user-registration-myaccount-notice-box {
	display: none;
}

/* =================================================================
   COMMENTS SECTION STYLES - Professional i3CA Design
   ================================================================= */

/* Force comments section to be visible */
#comments {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.comments-area {
    display: block !important;
    visibility: visible !important;
    margin: 40px 0;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Comments Title */
.comments-title {
    color: #1e3a8a;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 30px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* No Comments Message */
.no-comments-yet {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
}

.no-comments-yet h3 {
    color: #1e3a8a;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.no-comments-yet p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

/* Comment List */
.comment-list,
.commentlist {
    display: block !important;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

/* Individual Comments */
.comment {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    padding: 24px;
    transition: all 0.2s ease;
    position: relative;
}

.comment:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Comment Meta - Date First */
.comment-meta {
    margin-bottom: 16px;
}

.comment-date {
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comment-date:hover {
    color: #b91c1c;
    text-decoration: underline;
}

/* Comment Author */
.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.comment-author .avatar {
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid #e2e8f0;
    width: 50px;
    height: 50px;
}

.comment-author .fn {
    color: #1e3a8a;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comment-author .fn:hover {
    color: #1d4ed8;
}

/* Comment Content */
.comment-content {
    color: #374151;
    line-height: 1.6;
    font-size: 15px;
    margin: 0 0 16px 0;
}

.comment-content p {
    margin: 0 0 12px 0;
}

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

/* Comment Reply Link */
.reply {
    text-align: right;
}

.comment-reply-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: inline-block;
}

.comment-reply-link:hover {
    color: #1d4ed8;
    border-color: #3b82f6;
    background: #f8fafc;
}

/* Nested Comments (Children) */
.children {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 30px;
}

.children .comment {
    border-left: 3px solid #e2e8f0;
    background: #f8fafc;
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 0;
    border: none;
}

.comment-reply-title {
    color: #1e3a8a;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 30px 0;
    padding: 0;
    text-align: left;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* WordPress Comment Form Fields */
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    color: #374151;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 14px;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.comment-form-comment textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form-comment textarea:focus,
.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Submit Button */
.form-submit {
    margin-top: 20px;
}

.submit {
    background: #dc2626;
    border: none;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: normal;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.submit:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* Hide default WordPress messages */
.must-log-in,
.logged-in-as,
.comment-notes {
    display: none !important;
}

/* Custom Auth Container */
.custom-auth-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comment-respond .custom-auth-container {
    margin-top: 0;
}

/* Comment Navigation/Pagination */
.comment-navigation {
    margin: 30px 0;
    text-align: center;
}

.comment-navigation .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.comment-navigation .nav-links a,
.comment-navigation .nav-links span {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.comment-navigation .nav-links a:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: #f8fafc;
}

.comment-navigation .nav-links .current {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .comments-area {
        margin: 20px 0;
        padding: 30px 20px;
        border-left: none;
        border-right: none;
    }
    
    .comments-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .comment {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .comment-author .avatar {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .comment-date {
        font-size: 12px;
    }
    
    .comment-author .fn {
        font-size: 15px;
    }
    
    .comment-content {
        font-size: 14px;
    }
    
    .children {
        margin-left: 20px;
    }
    
    .comment-reply-link {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .comment-respond {
        margin-top: 30px;
    }
    
    .comment-reply-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .comment-form-comment textarea,
    .comment-form-author input,
    .comment-form-email input,
    .comment-form-url input {
        padding: 11px;
        font-size: 14px;
    }
    
    .submit {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
    }
    
    .custom-auth-container {
        padding: 30px 20px;
        border-left: none;
        border-right: none;
    }
    
    .no-comments-yet {
        padding: 30px 15px;
    }
    
    .no-comments-yet h3 {
        font-size: 18px;
    }
    
    .comment-navigation .nav-links {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .comment-navigation .nav-links a,
    .comment-navigation .nav-links span {
        padding: 6px 10px;
        font-size: 13px;
    }
}