/* PROFILE STYLES */
.profile-hero { background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%); border-radius: 24px; padding: 40px; color: var(--white); display: flex; gap: 32px; align-items: center; margin-bottom: 32px; flex-wrap: wrap; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.profile-hero::before { content: ''; position: absolute; right: -5%; top: -50%; width: 50%; height: 200%; background: radial-gradient(circle, rgba(255,212,59,0.1) 0%, rgba(0,0,0,0) 60%); pointer-events: none; }
.profile-hero img { width: 110px; height: 110px; border-radius: 30px; border: 4px solid var(--yellow); box-shadow: 0 10px 30px rgba(0,0,0,0.3); object-fit: cover; }
.profile-hero-info h1 { color: var(--white); font-size: 28px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.5px; }
.profile-badges { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.p-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; padding: 4px 12px; border-radius: 8px; letter-spacing: 0.5px; }
.badge-master { background: rgba(16,185,129,0.2); color: #34D399; }
.badge-veteran { background: rgba(255,193,7,0.2); color: var(--yellow); }
.profile-hero-info p { color: #94A3B8; font-size: 14px; font-weight: 500; }
.profile-hero-actions { margin-left: auto; display: flex; gap: 12px; }
.profile-hero-actions .btn-outline { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); }
.profile-hero-actions .btn-outline:hover { background: var(--white); color: var(--black); }

.profile-layout { display: grid; grid-template-columns: 320px 1fr; gap: 32px; }

.sidebar-widget { background: var(--white); border: 1px solid var(--border-light); border-radius: 24px; padding: 32px; margin-bottom: 24px; box-shadow: var(--shadow-sm); transition: 0.3s; }
.sidebar-widget:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.widget-title { font-size: 16px; font-weight: 900; border-bottom: 1px dashed var(--border-light); padding-bottom: 16px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; align-items: center; gap: 8px; }
.stats-list li { display: flex; justify-content: space-between; font-size: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border-light); }
.stats-list li:last-child { border-bottom: none; padding-bottom: 0; }
.stats-list .s-label { color: var(--text-muted); font-weight: 600; }
.stats-list .s-value { font-weight: 800; color: var(--black); }
.garage-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border-light); font-size: 14px; font-weight: 700; transition: 0.2s; }
.garage-item:hover { color: var(--yellow-hover); padding-left: 4px; }
.garage-item:last-child { border-bottom: none; padding-bottom: 0; }
.garage-item i { color: var(--yellow-hover); font-size: 20px; }

.tabs { display: flex; gap: 8px; background: var(--white); border: 1px solid var(--border-light); border-radius: 16px; padding: 8px; margin-bottom: 24px; box-shadow: var(--shadow-sm); overflow-x: auto; }
.tab-btn { flex: 1; text-align: center; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 800; color: var(--text-muted); cursor: pointer; transition: 0.2s; white-space: nowrap; }
.tab-btn:hover { background: var(--light-bg); color: var(--black); }
.tab-btn.active { background: var(--black); color: var(--yellow); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.activity-card { background: var(--white); border: 1px solid var(--border-light); border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 24px; }
.activity-item { padding: 20px 24px; border-bottom: 1px solid var(--border-light); transition: 0.2s; border-left: 4px solid transparent; }
.activity-item:hover { background: var(--light-bg); border-left-color: var(--yellow); }
.activity-item:last-child { border-bottom: none; }
.activity-item h4 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.activity-item h4 a { color: var(--black); }
.activity-item h4 a:hover { color: var(--yellow-hover); }
.activity-item p { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.activity-item .a-cat { color: var(--yellow-hover); font-weight: 800; }

@media (max-width: 1024px) {
    .profile-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .profile-hero { flex-direction: column; text-align: center; padding: 32px 20px; gap: 20px; }
    .profile-badges { justify-content: center; }
    .profile-hero-actions { margin-left: 0; width: 100%; display: flex; flex-direction: column; }
    .profile-hero-actions button { width: 100%; justify-content: center; }
}

/* MASTER PROFILE STYLES */
.master-hero { background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%); border-radius: 24px; padding: 40px; color: var(--white); display: flex; gap: 32px; align-items: center; margin-bottom: 32px; flex-wrap: wrap; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.master-hero img { width: 120px; height: 120px; border-radius: 32px; border: 4px solid var(--yellow); object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.master-hero-info h1 { color: var(--white); font-size: 28px; font-weight: 900; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.verified-icon { color: #10B981; font-size: 24px; }
.master-hero-info .specialty { color: var(--yellow); font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rating-row .stars { color: var(--yellow); font-size: 16px; }
.rating-row span { font-size: 14px; color: #A0A0A5; font-weight: 700; }
.master-hero-info p.loc { color: #A0A0A5; font-size: 14px; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.master-hero-actions { margin-left: auto; display: flex; gap: 12px; }

.master-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; }

.card-panel { background: var(--white); border: 1px solid var(--border-light); border-radius: 24px; box-shadow: var(--shadow-sm); padding: 32px; margin-bottom: 24px; transition: 0.3s; }
.card-panel:hover { box-shadow: var(--shadow-md); }
.card-panel h3 { font-size: 18px; font-weight: 900; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.card-panel h3 i { color: var(--yellow-hover); font-size: 24px; }
.card-panel p { font-size: 15px; color: var(--text-muted); line-height: 1.8; font-weight: 500; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag { background: var(--light-bg); border: 1px solid var(--border-light); padding: 8px 16px; border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--black); transition: 0.2s; }
.skill-tag:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }

.review-item { padding: 24px 0; border-bottom: 1px dashed var(--border-light); display: flex; gap: 16px; transition: 0.2s; }
.review-item:last-child { border-bottom: none; padding-bottom: 0; }
.review-item:hover { padding-left: 8px; }
.review-item img { width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0; }
.review-item-body { flex: 1; }
.review-item-body h4 { font-size: 15px; font-weight: 800; }
.review-stars { color: var(--yellow); font-size: 14px; margin: 6px 0; }
.review-item-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-weight: 500; }
.review-date { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 8px; display: inline-block; }

.info-row { display: flex; justify-content: space-between; font-size: 14px; padding: 12px 0; border-bottom: 1px dashed var(--border-light); }
.info-row:last-child { border-bottom: none; }
.info-row .i-label { color: var(--text-muted); font-weight: 600; }
.info-row .i-value { font-weight: 800; color: var(--black); }
.badge-verified { background: rgba(16,185,129,0.15); color: var(--success); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 8px; text-transform: uppercase; letter-spacing: 0.5px; }

@media (max-width: 1024px) {
    .master-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .master-hero { flex-direction: column; text-align: center; padding: 32px 20px; }
    .rating-row { justify-content: center; }
    .master-hero-info p.loc { justify-content: center; }
    .master-hero-actions { margin-left: 0; width: 100%; flex-direction: column; }
    .master-hero-actions button { width: 100%; justify-content: center; }
}
