/* Profile Section */
.profile-pic-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    min-height: 100px;
    min-width: 100px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    overflow: hidden;
}

.profile-chub {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-chub.loaded {
    opacity: 1;
}

.profile-pic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.profile-pic-overlay i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.profile-pic-overlay span {
    font-size: 0.8rem;
    text-align: center;
    padding: 0 5px;
}

.profile-pic-container:hover .profile-pic-overlay {
    opacity: 1;
}

/* Stats Section */
.stat-box {
    padding: 1.5rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-box.total-points {
    background: linear-gradient(135deg, #ff8c00, #ff6b00);
    color: white;
}

.stat-box.streak {
    background: linear-gradient(135deg, rgba(255, 123, 0, 0.1), rgba(255, 123, 0, 0.2));
    color: #FF7B00;
    border: 1px solid rgba(255, 123, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
}

/* Activity Stats */
.activity-stats {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.1);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row .stat-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.stat-row .stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* Points Breakdown */
.points-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.breakdown-item:hover {
    transform: translateY(-3px);
}

.breakdown-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.points-info {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-weight: normal;
}

.breakdown-value {
    font-size: 2rem;
    font-weight: bold;
    color: #ff8c00;
    margin-top: auto;
    text-align: right;
}

.text-muted {
    font-size: 0.8em;
}

/* Table Styles */
.table-responsive {
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table tbody tr {
    transition: background-color 0.2s;
}

.table tbody tr:hover {
    background-color: rgba(255,140,0,0.05);
}

/* Badges */
.badge {
    padding: 0.5em 0.8em;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
}

.badge i {
    margin-right: 0.3rem;
}

/* Points Display */
.points-awarded .text-success {
    font-weight: bold;
    font-size: 1.1rem;
}

.points-awarded .text-muted {
    font-size: 0.9rem;
    font-style: italic;
}

/* View Button */
.btn-outline-primary {
    border-color: #ff8c00;
    color: #ff8c00;
}

.btn-outline-primary:hover {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .stat-box {
        margin-bottom: 1rem;
    }
    
    .breakdown-item {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        margin-top: 1rem;
    }
}

.follow-status-container {
    margin: 1rem 0;
}

.follow-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.follow-cta.incomplete {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
}

.follow-cta.complete {
    background: linear-gradient(135deg, #00C851, #007E33);
    color: white;
}

.follow-cta i {
    font-size: 1.2rem;
}

.points-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-left: auto;
}

.follow-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.follow-badge-container {
    margin: 1rem 0;
}

.follow-badge {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.follow-badge.incomplete {
    background: rgba(0, 0, 0, 0.2);
    color: #FF7B00;
    border: 1px solid rgba(255, 123, 0, 0.3);
}

.follow-badge.complete {
    background: rgba(255, 123, 0, 0.1);
    color: #FF7B00;
}

.follow-badge-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.follow-badge i {
    font-size: 1.2rem;
}

.points-offer {
    background: #ff4444;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-left: auto;
}

.follow-button {
    background: #FF7B00;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.follow-button:hover {
    background: #ff8c1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 123, 0, 0.2);
}

.follow-actions {
    display: flex;
    gap: 0.5rem;
}

.view-profile-button {
    flex: 1;
    background: #2C3E50;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    text-align: center;
}

.view-profile-button:hover {
    background: #34495E;
    color: white;
    text-decoration: none;
}

.view-profile-button:hover {
    background: #34495E;
    color: white;
    text-decoration: none;
}

.view-profile-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.view-profile-link:hover {
    opacity: 1;
    color: white;
    text-decoration: none;
}

.view-profile-link i {
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.sort-buttons {
    margin-bottom: 1rem;
}

.sort-buttons .btn {
    margin-right: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sort-buttons .btn:hover {
    background: #404040;
}

.sort-buttons .btn.active {
    background: #ff8c00;
    color: white;
}

/* Label styles */
.label {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.label.repost {
    background: #ff8c00;
    color: white;
}

.label.chub {
    background: #2c2c2c;
    color: white;
}

.label.chubbywubeez {
    background: #404040;
    color: white;
}

.label.mention {
    background: #2c2c2c;  /* Dark gray/black */
    color: white;
}

/* Profile Page Styles */
.profile-container {
    border: 3px solid #ff8c00;
    border-radius: 24px;
    padding: 24px;
    background-color: #1a1a1a;
    margin: 2rem auto;
    max-width: 1200px;
    width: 95%;
}

/* Action Labels */
.action-label {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.action-label.mention {
    background-color: #e3f2fd;
    color: #1976d2;
}

.action-label.repost {
    background-color: #e8f5e9;
    color: #388e3c;
}

.action-label.tutorial {
    background-color: #fff3e0;
    color: #f57c00;
}

.action-label.chub_creation {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Points Display */
.points-awarded {
    font-weight: bold;
}

.points-awarded.pending {
    color: #757575;
    font-style: italic;
}

.status-pending {
    color: #ffd700;  /* Gold for pending */
}

.status-verified {
    color: #00ba7c;  /* Green for verified */
}