/* Modern Auth Buttons */
.modern-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.modern-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.modern-auth-btn:hover::before {
    left: 100%;
}

.modern-auth-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.modern-auth-btn:hover i {
    transform: scale(1.1);
}

/* Login Button */
.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Register Button */
.register-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.register-btn:hover {
    background: linear-gradient(135deg, #ee82f0 0%, #f34560 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

/* Large variant */
.modern-auth-btn.large {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 16px;
}

.modern-auth-btn.large i {
    font-size: 18px;
}

/* Full width variant */
.modern-auth-btn.w-100 {
    width: 100%;
    display: flex;
}

/* Auth buttons container */
.auth-buttons {
    display: flex;
    gap: 12px;
}

.auth-buttons-center {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-auth-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .modern-auth-btn.large {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .auth-buttons-center {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .auth-buttons-center .modern-auth-btn {
        width: 200px;
        justify-content: center;
    }
}

/* Modern Comments Styles */
.modern-comments-container {
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comments-header-modern {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.comments-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.comments-title-modern {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}



.modern-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modern-comment-item {
    position: relative;
    padding-left: 20px;
}

.comment-thread-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.comment-content-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.comment-avatar-modern {
    flex-shrink: 0;
}

.comment-user-avatar-modern {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.comment-bubble-modern {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.comment-bubble-modern::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 16px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

.comment-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-link-modern {
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
}

.author-link-modern:hover {
    color: #667eea;
}

.author-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.author-badge-modern.admin {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.author-badge-modern.moderator {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: white;
}

.comment-time-modern {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6c757d;
}

.comment-text-modern {
    color: #495057;
    line-height: 1.6;
    font-size: 14px;
}



/* Comment Form Styles */
.comment-section-modern {
    margin-top: 20px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comment-form-header-modern {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.form-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.form-title-modern {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.comment-form-inner-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Dark theme support */
[data-theme="dark"] .modern-comments-container {
    background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .comment-bubble-modern {
    background: #34495e;
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .comment-bubble-modern::before {
    border-right-color: #34495e;
}

[data-theme="dark"] .comments-title-modern,
[data-theme="dark"] .author-link-modern,
[data-theme="dark"] .form-title-modern {
    color: #ecf0f1;
}

[data-theme="dark"] .comment-text-modern {
    color: #bdc3c7;
}

[data-theme="dark"] .comment-section-modern {
    background: linear-gradient(145deg, #34495e 0%, #2c3e50 100%);
}

/* Animation */
.modern-comment-item {
    animation: slideInComment 0.5s ease-out;
}

@keyframes slideInComment {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Comment Form Input Styles */
.comment-input-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.input-avatar {
    flex-shrink: 0;
}

.form-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.input-field {
    flex: 1;
}

.modern-comment-input {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.modern-comment-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #fafbfc;
}

.modern-comment-input::placeholder {
    color: #6c757d;
    font-style: italic;
}

/* Comment Form Actions */
.comment-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.modern-comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.modern-comment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.modern-comment-btn:hover::before {
    left: 100%;
}

.modern-comment-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.modern-comment-btn:hover i {
    transform: scale(1.1);
}

/* Cancel Button */
.cancel-btn {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.cancel-btn:hover {
    background: linear-gradient(135deg, #5a6268 0%, #3d4043 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading state */
.modern-comment-btn.loading {
    pointer-events: none;
}

.modern-comment-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Dark theme for form elements */
[data-theme="dark"] .modern-comment-input {
    background: #495057;
    border-color: #6c757d;
    color: #fff;
}

[data-theme="dark"] .modern-comment-input:focus {
    background: #5a6268;
    border-color: #667eea;
}

[data-theme="dark"] .modern-comment-input::placeholder {
    color: #adb5bd;
}

/* Responsive */
/* Delete Button Styles */
.delete-btn {
    background-color: #fff5f5 !important;
    color: #dc3545 !important;
    border: 1px solid #f5c6cb !important;
}

.delete-btn:hover {
    background-color: #dc3545 !important;
    color: white !important;
    border-color: #dc3545 !important;
    transform: scale(1.05);
}

/* Modern Action Button Group */
.modern-action-group {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* Elegant Comments Design */
.elegant-comments-section {
    margin-top: 2rem;
    position: relative;
}

.comments-header-elegant {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 2px solid #e9ecef;
}

.comments-indicator {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.comments-title-elegant {
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-text {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.comment-count {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.elegant-comments-container {
    position: relative;
    padding-left: 20px;
}

.elegant-comments-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.elegant-comment-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.comment-connection-line {
    position: absolute;
    left: -20px;
    top: 1rem;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.comment-main-content {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.comment-main-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid white;
}

.comment-text-content {
    font-size: 15px;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.comment-meta-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f3f4;
    font-size: 13px;
    color: #6c757d;
}

.comment-date {
    font-style: italic;
}

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

.author-avatar {
    flex-shrink: 0;
}

.elegant-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-details {
    flex: 1;
}

.author-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.author-name a {
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
}

.author-name a:hover {
    color: #667eea;
}

.role-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.role-badge.role-admin {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.role-badge.role-moderator {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: white;
}

.author-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6c757d;
}

.points {
    color: #28a745;
    font-weight: 500;
}

.separator {
    color: #dee2e6;
}

.date {
    color: #6c757d;
}

/* Dark theme support for elegant comments */
[data-theme="dark"] .elegant-comments-section {
    color: #ecf0f1;
}

[data-theme="dark"] .comments-header-elegant {
    border-bottom-color: #495057;
}

[data-theme="dark"] .title-text {
    color: #ecf0f1;
}

[data-theme="dark"] .comment-main-content {
    background: #34495e;
    border-color: rgba(255,255,255,0.1);
}

[data-theme="dark"] .comment-main-content::before {
    border-right-color: #34495e;
}

[data-theme="dark"] .comment-text-content {
    color: #ecf0f1;
}

[data-theme="dark"] .comment-meta-info {
    color: #bdc3c7;
    border-bottom-color: #495057;
}

[data-theme="dark"] .author-name a {
    color: #ecf0f1;
}

[data-theme="dark"] .author-name a:hover {
    color: #667eea;
}

[data-theme="dark"] .author-stats {
    color: #bdc3c7;
}

[data-theme="dark"] .elegant-comment-avatar {
    border-color: #495057;
}

/* Responsive for elegant comments */
@media (max-width: 768px) {
    .elegant-comments-container {
        padding-left: 15px;
    }
    
    .elegant-comment-item {
        padding-left: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .comment-connection-line {
        left: -15px;
        width: 15px;
    }
    
    .comment-main-content {
        padding: 1rem;
    }
    
    .comment-author-section {
        gap: 8px;
    }
    
    .elegant-comment-avatar {
        width: 36px;
        height: 36px;
    }
    
    .comment-text-content {
        font-size: 14px;
    }
    
    .author-name a {
        font-size: 13px;
    }
    
    .author-stats {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .modern-comments-container {
        padding: 16px;
        margin-top: 16px;
    }
    
    .comment-content-wrapper {
        gap: 8px;
    }
    
    .comment-user-avatar-modern {
        width: 32px;
        height: 32px;
    }
    
    .comment-bubble-modern {
        padding: 12px;
    }
    
    .comments-title-modern {
        font-size: 16px;
    }
    
    .form-title-modern {
        font-size: 14px;
    }
    
    .comment-input-wrapper {
        gap: 8px;
    }
    
    .form-user-avatar {
        width: 36px;
        height: 36px;
    }
    
    .modern-comment-input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .comment-form-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }
    
    .modern-comment-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
}
/* 
Reply System Styles */
.answer-replies {
    margin-left: 60px;
    border-left: 3px solid #e9ecef;
    padding-left: 20px;
    position: relative;
}

.replies-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.replies-indicator {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.replies-title {
    margin: 0;
    color: #495057;
    font-weight: 600;
    font-size: 16px;
}

.reply-item {
    position: relative;
    margin-bottom: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.reply-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.reply-connection-line {
    position: absolute;
    left: -21px;
    top: 20px;
    width: 20px;
    height: 2px;
    background: #dee2e6;
}

.reply-connection-line::before {
    content: '';
    position: absolute;
    left: -3px;
    top: -20px;
    width: 2px;
    height: 20px;
    background: #dee2e6;
}

.reply-content {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #495057;
}

.reply-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.reply-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 13px;
}

.reply-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.reply-action-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: none;
    background: transparent;
    color: #6c757d;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reply-action-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.reply-action-btn.voted {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.reply-action-btn.delete-btn:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reply-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.author-info {
    flex: 1;
}

.author-name a {
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.author-name a:hover {
    color: #007bff;
}

.role-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 5px;
}

.role-badge.role-admin {
    background: #dc3545;
    color: white;
}

.role-badge.role-moderator {
    background: #ffc107;
    color: #212529;
}

.author-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

.separator {
    color: #dee2e6;
}

/* Reply Form Styles */
.elegant-reply-form-section {
    margin-top: 20px;
    margin-left: 60px;
}

.elegant-reply-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.elegant-reply-input {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
    background: white;
}

.elegant-reply-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.elegant-reply-input::placeholder {
    color: #6c757d;
}

/* Reply Button in Action Bar */
.modern-action-btn.reply-btn {
    color: #28a745;
}

.modern-action-btn.reply-btn:hover {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
    .answer-replies {
        margin-left: 20px;
        padding-left: 15px;
    }
    
    .elegant-reply-form-section {
        margin-left: 20px;
    }
    
    .reply-item {
        padding: 15px;
    }
    
    .reply-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .reply-actions {
        margin-left: 0;
    }
}
/* M
odern Answer Card Styles */
.modern-answer-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 0 auto 20px auto;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    max-width: 95%;
    width: 95%;
}

.modern-answer-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.modern-answer-card.accepted-answer {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.answer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f3f4;
}

.answer-vote-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.vote-number {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.vote-label {
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accepted-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.accept-answer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-answer-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.answer-content {
    font-size: 16px;
    line-height: 1.7;
    color: #2d3748;
    margin-bottom: 24px;
}

.answer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f1f3f4;
}

.answer-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 14px;
}

.answer-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
}

.action-btn:focus {
    outline: none;
    text-decoration: none;
}

.action-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.1);
}

.action-btn.voted {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    color: white;
}

.action-btn.bookmarked {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
}

.answer-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.author-name:hover {
    color: #667eea;
}

.author-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6c757d;
    margin-top: 2px;
}

/* Comments Section */
.comments-section {
    margin-top: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e9ecef;
}

.comments-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dee2e6;
    min-height: 32px;
}

.comments-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
}

.comments-indicator i {
    font-size: 16px;
    color: #667eea;
    margin-right: 2px;
}

.comments-count {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 12px;
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: #2d3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.author-name:hover {
    color: #667eea;
}

.role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 6px;
}

.role-badge.admin {
    background: #dc3545;
    color: white;
}

.role-badge.moderator {
    background: #ffc107;
    color: #212529;
}

.comment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.comment-date {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
    font-size: 13px;
}

.comment-action-buttons {
    display: flex;
    gap: 8px;
}

.comment-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.comment-action-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.1);
}

.comment-action-btn.edit-comment-btn:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.comment-action-btn.delete-comment-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Comment Form */
.comment-form-section {
    margin-top: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.comment-form {
    background: white;
    border-radius: 12px;
    padding: 16px;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-input {
    width: 100%;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.comment-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-input::placeholder {
    color: #6c757d;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-cancel {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
}

.btn-submit {
    padding: 8px 16px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-answer-card {
        padding: 16px;
    }
    
    .answer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .answer-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .answer-actions {
        order: -1;
        width: 100%;
        justify-content: flex-start;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
        text-align: center;
    }
}/* Moder
n Action Buttons */
.modern-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    text-decoration: none;
}

.modern-action-btn:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.1);
    text-decoration: none;
}

.modern-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Specific action button colors */
.modern-action-btn[title="Düzenle"]:hover {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.modern-action-btn[title="Sil"]:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.modern-action-btn[title="Paylaş"]:hover {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.modern-action-btn[title="Kaydet"]:hover,
.modern-action-btn[title="İhbar Et"]:hover {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.modern-action-btn.liked,
.modern-action-btn.saved {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.modern-action-btn.delete-btn {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.modern-action-btn.delete-btn:hover {
    background: #dc3545;
    color: white;
}/* 
Comment Edit Form */
.comment-edit-form {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #dee2e6;
}

.comment-edit-input {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.comment-edit-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-edit-form .btn {
    font-size: 13px;
    padding: 6px 12px;
}

.comment-edit-form .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.comment-edit-form .btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-1px);
}

.comment-edit-form .btn-secondary {
    background: #6c757d;
    border: none;
}

.comment-edit-form .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Comment item with edit state */
.comment-item[data-editing="true"] .comment-content {
    display: none;
}

.comment-item[data-editing="true"] .comment-action-buttons {
    display: none;
}

/* Vote Button Styles */
.modern-action-btn.vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modern-action-btn.vote-btn .vote-count {
    font-size: 13px;
    font-weight: 600;
}

/* Upvote button */
.modern-action-btn.vote-btn[data-vote-type="upvote"] {
    background: #f8f9fa;
    color: #28a745;
    border: 1px solid #e9ecef;
}

.modern-action-btn.vote-btn[data-vote-type="upvote"]:hover {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: #28a745;
    transform: scale(1.05);
}

.modern-action-btn.vote-btn[data-vote-type="upvote"].voted {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
}

/* Downvote button */
.modern-action-btn.vote-btn[data-vote-type="downvote"] {
    background: #f8f9fa;
    color: #dc3545;
    border: 1px solid #e9ecef;
}

.modern-action-btn.vote-btn[data-vote-type="downvote"]:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: #dc3545;
    transform: scale(1.05);
}

.modern-action-btn.vote-btn[data-vote-type="downvote"].voted {
    background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
    color: white;
    border-color: #dc3545;
}

/* Vote buttons container */
.modern-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Save button styles */
.modern-action-btn[data-action="save"] {
    color: #ffc107;
}

.modern-action-btn[data-action="save"]:hover {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.modern-action-btn[data-action="save"].saved {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
}

/* Share button styles */
.modern-action-btn[data-action="share"] {
    color: #17a2b8;
}

.modern-action-btn[data-action="share"]:hover {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

/* Comment button styles */
.modern-action-btn[data-action="comment"] {
    color: #6f42c1;
}

.modern-action-btn[data-action="comment"]:hover {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

/* Report button styles */
.modern-action-btn[title="İhbar Et"] {
    color: #fd7e14;
}

.modern-action-btn[title="İhbar Et"]:hover {
    background: rgba(253, 126, 20, 0.1);
    color: #fd7e14;
}

/* Responsive vote buttons */
@media (max-width: 768px) {
    .modern-action-btn.vote-btn {
        padding: 6px 10px;
        font-size: 13px;
        gap: 4px;
    }
    
    .modern-action-btn.vote-btn .vote-count {
        font-size: 12px;
    }
    
    .modern-action-buttons {
        gap: 6px;
    }
}

/* Animation for vote changes */
.vote-count {
    transition: all 0.3s ease;
}

.vote-count.updating {
    transform: scale(1.2);
    color: #667eea;
}

/* Toast notification styles */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-notification.removing {
    animation: slideOutRight 0.3s ease-in;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}