/* My Comment Page Styles */
.mycomment-container {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 80px;
}

.mycomment-header {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
}

.back-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.header-right {
    display: flex;
    align-items: center;
}

.filter-btn {
    background: none;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #ff0050;
    color: #ff0050;
}

.mycomment-content {
    margin-top: 70px;
    padding: 20px;
}

/* Stats Section */
.stats-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #ff0050;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Filter Section */
.filter-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 8px 16px;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    background: white;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active {
    border-color: #ff0050;
    background: #ff0050;
    color: white;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    height: 44px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 0 45px 0 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #ff0050;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.comments-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.comments-count {
    font-size: 14px;
    color: #666;
}

.comment-item {
    padding: 20px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.comment-item:hover {
    background-color: #f8f9fa;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-item.deleted {
    opacity: 0.6;
    background-color: #f5f5f5;
}

.comment-item.reply {
    margin-left: 20px;
    border-left: 3px solid #ff0050;
    padding-left: 17px;
    background-color: #fafafa;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

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

.comment-board {
    background: linear-gradient(135deg, #ff0050, #ff4081);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.comment-post-title {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

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

.comment-parent {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
    border-left: 3px solid #ddd;
}

.comment-parent-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 5px;
    font-weight: 600;
}

.comment-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.comment-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #999;
}

.comment-stat i {
    font-size: 12px;
}

.comment-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.action-btn {
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: #ff0050;
    color: #ff0050;
}

.action-btn.delete {
    color: #ff3333;
    border-color: #ffebee;
}

.action-btn.delete:hover {
    background: #ffebee;
}

/* Status Badge */
.status-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.status-badge.deleted {
    background: #ffebee;
    color: #f44336;
}

.status-badge.reply {
    background: #e3f2fd;
    color: #1976d2;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.empty-action {
    background: linear-gradient(135deg, #ff0050, #ff4081);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.empty-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 80, 0.3);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .filter-tabs {
        flex-wrap: wrap;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .comment-post-title {
        max-width: 150px;
    }
    
    .comment-actions {
        flex-wrap: wrap;
    }
    
    .comment-item.reply {
        margin-left: 10px;
        padding-left: 10px;
    }
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top: 3px solid #ff0050;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}