.user-profile-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.profile-header-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.profile-avatar-section {
    flex-shrink: 0;
}

.avatar-wrapper {
    position: relative;
}

.user-avatar {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.admin-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ffb347 0%, #ff9f1a 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.profile-info-section {
    flex: 1;
    min-width: 0;
}

.user-info-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.user-name {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.user-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.level-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.verify-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.verify-badge.creator {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.verify-badge.enterprise {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.verify-badge.government {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.follow-btn.following {
    background: #f5f5f5;
    color: #666;
}

.follow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.follow-btn.following:hover {
    background: #e8e8e8;
    box-shadow: none;
}

.user-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.user-meta-info {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 13px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stats-section {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fafafa;
    border-radius: 12px;
    padding: 16px 24px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 0 16px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #e8e8e8;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 13px;
    color: #999;
}

.tabs-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
}

.tab-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover {
    color: #333;
    background: #f0f0f0;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.tab-count {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 12px;
}

.tab-btn.active .tab-count {
    background: rgba(255,255,255,0.2);
}

.tabs-content {
    padding: 24px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.post-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.post-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.post-thumb {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.post-info {
    flex: 1;
    min-width: 0;
}

.post-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.post-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.post-title a:hover {
    color: #667eea;
}

.post-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    gap: 16px;
}

.urls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.url-card {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.url-card:hover {
    background: #f0f3ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.url-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #e8e8e8;
    flex-shrink: 0;
}

.url-icon.default-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
}

.url-info {
    flex: 1;
    min-width: 0;
}

.url-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.url-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.4;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.profile-checkin-row {
    margin-bottom: 8px;
}

.checkin-btn-profile {
    display: inline-block;
    padding: 10px 32px;
    background: #1890ff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
}

.checkin-btn-profile:hover {
    background: #40a9ff;
}

.checkin-status-badge {
    display: inline-block;
    padding: 12px 32px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.user-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-card:hover {
    background: #f0f3ff;
    transform: translateY(-2px);
}

.user-avatar-small {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
}

.user-name-small {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
}

.form-container {
    max-width: 500px;
}

.form-container h3 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 20px;
    color: #1a1a1a;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.form-message {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 15px;
}

@media (max-width: 768px) {
    .profile-header-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info-top {
        flex-direction: column;
        align-items: center;
    }
    
    .user-meta-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stats-section {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 8px);
    }
    
    .urls-grid {
        grid-template-columns: 1fr;
    }
    
    .users-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
