/* =============================================================
   ANALIZUS — profiles.css
   Uzman Profil Sayfası bileşenleri (.ax-profile-* namespace)
   Tüm değerler base.css :root değişkenlerinden türetilir.
   ============================================================= */

/* === PROFIL KARTI (sol kolon) === */
.ax-profile-card {
    background: var(--ax-bg-secondary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--ax-radius-xl);
    padding: var(--ax-space-6);
    text-align: center;
    position: sticky;
    top: var(--ax-space-6);
}

.ax-profile-avatar-wrap {
    display: inline-block;
    position: relative;
    margin-bottom: var(--ax-space-4);
    filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.4));
}

.ax-online-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border: 2px solid #0f172a;
    border-radius: 50%;
    cursor: default;
}

.ax-online-dot::after {
    content: "Çevrimiçi";
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #22c55e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.ax-online-dot:hover::after {
    opacity: 1;
}

.ax-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(99, 102, 241, 0.4);
    box-shadow: var(--ax-shadow-lg);
}

.ax-profile-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(56, 189, 248, 0.25));
    border: 3px solid rgba(99, 102, 241, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
    box-shadow: var(--ax-shadow-lg);
}

.ax-profile-username {
    font-size: var(--ax-text-xl);
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
    margin: 0 0 var(--ax-space-1);
}

.ax-profile-title {
    font-size: var(--ax-text-sm);
    color: #38bdf8;
    margin: 0 0 var(--ax-space-2);
}

/* Toplam puan */
.ax-profile-score-main {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-2);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--ax-radius-full);
    padding: var(--ax-space-2) var(--ax-space-5);
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    margin-bottom: var(--ax-space-2);
}

.ax-profile-score-breakdown {
    display: flex;
    justify-content: center;
    gap: var(--ax-space-2);
    margin-bottom: var(--ax-space-4);
}

.ax-profile-score-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-1);
    background: var(--ax-bg-tertiary);
    border-radius: var(--ax-radius-full);
    padding: var(--ax-space-1) var(--ax-space-3);
    font-size: var(--ax-text-xs);
    color: var(--ax-text-secondary);
}

/* Takipçi istatistikleri */
.ax-profile-social-stats {
    display: flex;
    justify-content: center;
    gap: var(--ax-space-8);
    margin-bottom: var(--ax-space-4);
}

.ax-profile-social-stat {
    text-align: center;
    cursor: pointer;
}

.ax-profile-social-stat__count {
    font-size: var(--ax-text-xl);
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
    display: block;
}

.ax-profile-social-stat__label {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
}

/* Doğrulama tikler */
.ax-profile-verifications {
    display: flex;
    justify-content: center;
    gap: var(--ax-space-3);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--ax-radius-md);
    padding: var(--ax-space-2) var(--ax-space-4);
    margin-bottom: var(--ax-space-3);
}

/* Rozet önizleme */
.ax-profile-badges-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--ax-space-2);
    margin-bottom: var(--ax-space-3);
}

.ax-profile-badge-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.ax-profile-badge-circle:hover {
    transform: scale(1.1);
}

/* İlerleme çubuğu (sonraki rozet) */
.ax-profile-progress-wrap {
    margin-bottom: var(--ax-space-4);
    padding: 0 var(--ax-space-2);
}

.ax-profile-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--ax-space-1);
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
}

.ax-profile-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--ax-radius-full);
    overflow: hidden;
}

.ax-profile-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ax-accent-warning), #fbbf24);
    border-radius: var(--ax-radius-full);
    transition: width 0.6s ease;
}

/* Üye tipi chip */
.ax-profile-member-chip {
    display: inline-block;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--ax-radius-full);
    padding: var(--ax-space-2) var(--ax-space-6);
    font-size: var(--ax-text-xs);
    font-weight: var(--ax-font-semibold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--ax-space-4);
}

/* Hızlı istatistikler */
.ax-profile-quick-stats {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-4);
    margin-top: var(--ax-space-4);
    text-align: left;
}

.ax-profile-quick-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ax-space-2) 0;
    border-bottom: 1px solid var(--ax-border-default);
    font-size: var(--ax-text-sm);
}

.ax-profile-quick-stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ax-profile-quick-stat-label {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    color: #38bdf8;
}

.ax-profile-quick-stat-value {
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
}

/* === CTA BUTONLARI === */
.ax-profile-actions {
    display: flex;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-4);
}

.ax-btn-profile-message {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-2);
    padding: var(--ax-space-3) var(--ax-space-4);
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: #fff;
    border: none;
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.ax-btn-profile-message:hover {
    color: #fff;
    opacity: 0.9;
    transform: translateY(-1px);
}

.ax-btn-profile-follow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ax-space-3) var(--ax-space-4);
    background: transparent;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-sm);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.ax-btn-profile-follow:hover,
.ax-btn-profile-follow.following {
    background: rgba(56, 189, 248, 0.12);
    color: var(--ax-text-primary);
    border-color: rgba(56, 189, 248, 0.6);
}

.ax-btn-profile-edit {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-2);
    padding: var(--ax-space-3) var(--ax-space-4);
    background: transparent;
    color: var(--ax-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-medium);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.ax-btn-profile-edit:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ax-text-primary);
}

.ax-btn-profile-login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--ax-space-2);
    padding: var(--ax-space-3) var(--ax-space-4);
    background: transparent;
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-sm);
    text-decoration: none;
    transition: background 0.2s;
}

.ax-btn-profile-login:hover {
    background: rgba(56, 189, 248, 0.08);
    color: #38bdf8;
}

/* === SEKMELER (vanilla JS, Bootstrap'siz) === */
/* Sığmayan sekme alt satıra geçer — gizli yatay kaydırma, uzun DE etiketlerinde
   son sekmeyi ("Vertrauen") görünmez yapıyordu (26 Eylül 2026) */
.ax-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid var(--ax-border-default);
    margin-bottom: var(--ax-space-4);
}

.ax-profile-tab-btn {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    padding: var(--ax-space-3) var(--ax-space-4);
    background: transparent;
    color: var(--ax-text-secondary);
    border: none;
    border-bottom: 2px solid transparent;
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-medium);
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
}

.ax-profile-tab-btn:hover {
    color: var(--ax-text-primary);
}

.ax-profile-tab-btn.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
}

/* Tab panel */
.ax-profile-tab-panel {
    display: none;
}

.ax-profile-tab-panel.active {
    display: block;
    animation: ax-fade-in 0.2s ease;
}

@keyframes ax-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* === PANEL KARTI === */
.ax-profile-panel {
    background: var(--ax-bg-secondary);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--ax-radius-xl);
    padding: var(--ax-space-6);
}

/* === HAKKINDA KARTI (sekmelerin üstünde) === */
.ax-profile-about {
    margin-bottom: var(--ax-space-6);
}
.ax-profile-about .ax-profile-skills-title {
    margin-top: 0;
}
.ax-profile-about__bio {
    color: var(--ax-text-secondary);
    font-size: var(--ax-text-sm);
    line-height: 1.7;
    margin: 0 0 var(--ax-space-4);
    overflow-wrap: anywhere;
}
.ax-profile-about__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--ax-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
    font-size: var(--ax-text-sm);
    color: var(--ax-text-secondary);
}
.ax-profile-about__meta li {
    display: flex;
    align-items: flex-start;
    gap: var(--ax-space-2);
    overflow-wrap: anywhere;
}
.ax-profile-about__meta i {
    color: var(--ax-text-muted);
    flex-shrink: 0;
    margin-top: 2px;
}
.ax-profile-about__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-space-2);
}
.ax-profile-about__links .ax-profile-skill-tag,
.ax-profile-about--empty .ax-profile-skill-tag {
    text-decoration: none;
}
.ax-profile-about--empty .ax-profile-about__bio {
    color: var(--ax-text-muted);
}

/* === STATS PANEL === */
.ax-profile-score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ax-space-3);
    margin-bottom: var(--ax-space-6);
    padding-bottom: var(--ax-space-4);
    border-bottom: 1px solid var(--ax-border-default);
}

.ax-profile-score-metric {
    text-align: center;
    padding: var(--ax-space-3);
    background: var(--ax-bg-tertiary);
    border-radius: var(--ax-radius-lg);
}

.ax-profile-score-metric__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ax-text-muted);
    margin-bottom: var(--ax-space-1);
}

.ax-profile-score-metric__value {
    font-size: var(--ax-text-2xl);
    font-weight: var(--ax-font-bold);
}

.ax-profile-category-list {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-4);
}

.ax-profile-category-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--ax-space-1);
}

.ax-profile-category-item__name {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
}

.ax-profile-category-item__count {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 158, 11, 0.15);
    color: var(--ax-accent-warning);
    border-radius: var(--ax-radius-full);
    padding: 2px var(--ax-space-3);
    font-size: var(--ax-text-xs);
    font-weight: var(--ax-font-semibold);
}

.ax-profile-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ax-radius-full);
    overflow: hidden;
}

.ax-profile-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ax-accent-warning), #fbbf24);
    border-radius: var(--ax-radius-full);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.35);
}

/* === JOBS / PORTFOLIO PANEL === */
.ax-profile-section-title {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
    padding-left: var(--ax-space-3);
    border-left: 3px solid var(--ax-accent-primary);
    margin-bottom: var(--ax-space-3);
}

.ax-profile-section-title--warning  { border-left-color: var(--ax-accent-warning); }
.ax-profile-section-title--success  { border-left-color: var(--ax-accent-secondary); }
.ax-profile-section-title--info     { border-left-color: #38bdf8; }

.ax-profile-job-list {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
    margin-bottom: var(--ax-space-6);
}

.ax-profile-job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ax-space-3) var(--ax-space-4);
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-default);
    border-radius: var(--ax-radius-lg);
    text-decoration: none;
    color: var(--ax-text-primary);
    transition: border-color 0.2s, background 0.2s;
}

.ax-profile-job-item:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.04);
    color: var(--ax-text-primary);
}

.ax-profile-job-item__title {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    margin-bottom: 2px;
}

.ax-profile-job-item__meta {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
}

/* Durum chip */
.ax-status-chip {
    display: inline-block;
    padding: 2px var(--ax-space-2);
    border-radius: var(--ax-radius-full);
    font-size: 0.65rem;
    font-weight: var(--ax-font-semibold);
}

.ax-status-chip--open        { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ax-status-chip--in-progress { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.ax-status-chip--completed   { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.ax-status-chip--cancelled   { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }
.ax-status-chip--accepted    { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ax-status-chip--rejected    { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.ax-status-chip--pending     { background: rgba(100, 116, 139, 0.15); color: #94a3b8; }

.ax-profile-job-item__badge {
    display: inline-flex;
    align-items: center;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border-radius: var(--ax-radius-full);
    padding: 2px var(--ax-space-3);
    font-size: var(--ax-text-xs);
    white-space: nowrap;
}

.ax-profile-job-item__price {
    display: inline-flex;
    align-items: center;
    background: var(--ax-bg-elevated);
    border: 1px solid var(--ax-border-hover);
    color: var(--ax-text-primary);
    border-radius: var(--ax-radius-full);
    padding: 2px var(--ax-space-3);
    font-size: var(--ax-text-xs);
}

.ax-profile-more-btn {
    display: block;
    width: 100%;
    margin-top: var(--ax-space-2);
    padding: var(--ax-space-3);
    background: none;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-md, 8px);
    color: var(--ax-text-muted);
    font-size: var(--ax-text-xs);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.ax-profile-more-btn:hover {
    background: rgba(99, 102, 241, 0.08);
    color: #a5b4fc;
}

/* === PORTFÖY GRID === */
.ax-profile-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--ax-space-3);
}

.ax-profile-portfolio-card {
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-default);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-4);
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.ax-profile-portfolio-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

a.ax-profile-portfolio-card--link {
    text-decoration: none;
    cursor: pointer;
}

a.ax-profile-portfolio-card--link:hover {
    border-color: var(--ax-accent-primary);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.ax-profile-portfolio-card__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ax-accent-secondary);
    font-weight: var(--ax-font-semibold);
}

.ax-profile-portfolio-card__title {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    line-height: var(--ax-leading-tight);
}

.ax-profile-portfolio-card__meta {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    margin-top: auto;
    padding-top: var(--ax-space-2);
}

.ax-profile-portfolio-card__budget {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--ax-accent-secondary);
    border-radius: var(--ax-radius-full);
    padding: 2px var(--ax-space-3);
    font-size: var(--ax-text-xs);
    font-weight: var(--ax-font-semibold);
}

/* === DEĞERLENDİRMELER === */
.ax-profile-review-list {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
}

.ax-profile-review-item {
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-default);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-3) var(--ax-space-4);
}

.ax-profile-review-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--ax-space-1);
}

.ax-profile-review-item__reviewer {
    font-size: var(--ax-text-sm);
    color: #38bdf8;
    font-weight: var(--ax-font-medium);
}

.ax-profile-review-stars {
    display: flex;
    gap: 2px;
}

.ax-profile-review-item__text {
    font-size: var(--ax-text-sm);
    color: var(--ax-text-primary);
    margin: var(--ax-space-1) 0;
}

.ax-profile-review-item__meta {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
}

/* === ROZETLER PANEL === */
.ax-profile-badge-section {
    margin-bottom: var(--ax-space-6);
}

.ax-profile-badge-section-title {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    border-bottom: 1px solid var(--ax-border-default);
    padding-bottom: var(--ax-space-3);
    margin-bottom: var(--ax-space-4);
}

.ax-profile-badge-count {
    margin-left: auto;
    background: var(--ax-bg-elevated);
    color: var(--ax-text-secondary);
    border-radius: var(--ax-radius-full);
    padding: 2px var(--ax-space-3);
    font-size: var(--ax-text-xs);
}

.ax-profile-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ax-space-3);
}

.ax-profile-badge-card {
    display: flex;
    align-items: center;
    gap: var(--ax-space-3);
    padding: var(--ax-space-3);
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-default);
    border-radius: var(--ax-radius-lg);
    transition: border-color 0.2s;
}

.ax-profile-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ax-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
}

.ax-profile-badge-name {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    margin-bottom: 2px;
}

.ax-profile-badge-desc {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
}

.ax-profile-badge-pts {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-1);
    background: rgba(245, 158, 11, 0.1);
    color: var(--ax-accent-warning);
    border-radius: var(--ax-radius-full);
    padding: 1px var(--ax-space-2);
    font-size: 0.65rem;
    font-weight: var(--ax-font-semibold);
    margin-top: var(--ax-space-1);
}

/* Sonraki rozet hedef kartı */
.ax-profile-next-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px dashed rgba(139, 92, 246, 0.35);
    border-radius: var(--ax-radius-xl);
    padding: var(--ax-space-4);
    margin-top: var(--ax-space-4);
}

.ax-profile-next-badge__title {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    margin-bottom: var(--ax-space-3);
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
}

.ax-profile-next-badge__body {
    display: flex;
    align-items: center;
    gap: var(--ax-space-4);
}

.ax-profile-next-badge__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--ax-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
}

.ax-profile-next-badge__name {
    font-size: var(--ax-text-base);
    font-weight: var(--ax-font-bold);
    color: var(--ax-text-primary);
    margin-bottom: 2px;
}

.ax-profile-next-badge__desc {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
}

.ax-profile-next-badge__remaining {
    font-size: var(--ax-text-xs);
    color: #38bdf8;
    margin-top: var(--ax-space-1);
    display: block;
}

/* Tüm rozetler listesi (kompakt) */
.ax-profile-all-badges {
    margin-top: var(--ax-space-6);
    padding-top: var(--ax-space-4);
    border-top: 1px solid var(--ax-border-default);
}

.ax-profile-all-badges__group-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ax-text-muted);
    font-weight: var(--ax-font-bold);
    display: block;
    margin-bottom: var(--ax-space-2);
    margin-top: var(--ax-space-4);
}

.ax-profile-badge-row {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    padding: var(--ax-space-2);
    border-radius: var(--ax-radius-md);
    margin-bottom: var(--ax-space-1);
    transition: background 0.15s;
}

.ax-profile-badge-row.earned {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.ax-profile-badge-row__icon {
    width: 28px;
    text-align: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.ax-profile-badge-row__name {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
}

.ax-profile-badge-row__desc {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
    margin-left: var(--ax-space-1);
}

.ax-badge-earned-chip {
    margin-left: auto;
    font-size: 0.65rem;
    padding: 1px var(--ax-space-2);
    border-radius: var(--ax-radius-full);
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    white-space: nowrap;
}

.ax-badge-locked-chip {
    margin-left: auto;
    font-size: 0.65rem;
    padding: 1px var(--ax-space-2);
    border-radius: var(--ax-radius-full);
    background: var(--ax-bg-elevated);
    color: var(--ax-text-muted);
    white-space: nowrap;
}

/* === YETENEKler PANEL === */
.ax-profile-skills-title {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    font-size: var(--ax-text-base);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    margin-bottom: var(--ax-space-4);
}

.ax-profile-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-space-2);
}

.ax-profile-skill-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-2);
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-hover);
    border-radius: var(--ax-radius-full);
    padding: var(--ax-space-2) var(--ax-space-4);
    font-size: var(--ax-text-sm);
    color: var(--ax-text-primary);
    transition: border-color 0.2s;
}

.ax-profile-skill-tag:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

/* === GÜVEN & ONAY PANEL === */
.ax-profile-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ax-space-3);
    margin-bottom: var(--ax-space-4);
}

.ax-profile-trust-card {
    border-radius: var(--ax-radius-xl);
    padding: var(--ax-space-4);
    text-align: center;
}

.ax-profile-trust-card--granted {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.ax-profile-trust-card--active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.ax-profile-trust-card--locked {
    background: var(--ax-bg-secondary);
    border: 1px solid rgba(100, 116, 139, 0.25);
}

.ax-profile-trust-card__icon {
    margin-bottom: var(--ax-space-3);
    line-height: 1;
}

.ax-profile-trust-card__title {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    margin-bottom: var(--ax-space-2);
}

.ax-profile-trust-card__status {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-1);
    padding: var(--ax-space-1) var(--ax-space-3);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-xs);
    font-weight: var(--ax-font-semibold);
}

.ax-profile-trust-card__status--success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ax-profile-trust-card__status--primary { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.ax-profile-trust-card__status--locked  { background: var(--ax-bg-elevated); color: var(--ax-text-muted); }

.ax-profile-trust-card__desc {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
    margin-top: var(--ax-space-2);
}

/* Doğrulama merkezi */
.ax-profile-verify-center {
    background: var(--ax-bg-secondary);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: var(--ax-radius-xl);
    padding: var(--ax-space-6);
}

.ax-profile-verify-center__title {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    font-size: var(--ax-text-base);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    margin-bottom: var(--ax-space-4);
}

.ax-profile-verify-info-box {
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--ax-radius-lg);
    padding: var(--ax-space-3) var(--ax-space-4);
    margin-bottom: var(--ax-space-4);
    font-size: var(--ax-text-sm);
    color: var(--ax-text-secondary);
}

.ax-profile-verify-list {
    display: flex;
    flex-direction: column;
}

.ax-profile-verify-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--ax-space-3) 0;
    border-bottom: 1px solid var(--ax-border-default);
}

.ax-profile-verify-row:last-child {
    border-bottom: none;
}

.ax-profile-verify-row__label {
    flex: 1;
}

.ax-profile-verify-row__label h6 {
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
    margin: 0 0 2px;
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
}

.ax-profile-verify-row__label small {
    font-size: var(--ax-text-xs);
    color: var(--ax-text-muted);
}

.ax-verify-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-1);
    padding: var(--ax-space-1) var(--ax-space-3);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-xs);
    font-weight: var(--ax-font-semibold);
    white-space: nowrap;
}

.ax-verify-chip--success { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.ax-verify-chip--danger  { background: rgba(239, 68, 68, 0.15);  color: #f87171; }
.ax-verify-chip--primary { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }
.ax-verify-chip--muted   { background: var(--ax-bg-elevated);    color: var(--ax-text-muted); }

/* Doğrulama form */
.ax-verify-form {
    display: flex;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-2);
}

.ax-verify-input {
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-hover);
    border-radius: var(--ax-radius-md);
    padding: var(--ax-space-2) var(--ax-space-3);
    color: var(--ax-text-primary);
    font-size: var(--ax-text-sm);
    outline: none;
    transition: border-color 0.2s;
}

.ax-verify-input:focus {
    border-color: rgba(56, 189, 248, 0.5);
}

.ax-verify-btn {
    background: transparent;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: var(--ax-radius-md);
    color: #38bdf8;
    padding: var(--ax-space-2) var(--ax-space-3);
    font-size: var(--ax-text-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.ax-verify-btn:hover {
    background: rgba(56, 189, 248, 0.08);
}

/* === BOŞ DURUM === */
.ax-profile-empty {
    text-align: center;
    padding: var(--ax-space-10) 0;
    color: var(--ax-text-muted);
}

.ax-profile-empty svg {
    opacity: 0.2;
    margin-bottom: var(--ax-space-3);
}

.ax-profile-empty__text {
    font-size: var(--ax-text-base);
    color: var(--ax-text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .ax-profile-card {
        position: static;
        margin-bottom: var(--ax-space-4);
    }
}

@media (max-width: 576px) {
    .ax-profile-score-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ax-profile-trust-grid {
        grid-template-columns: 1fr;
    }

    .ax-profile-badge-grid {
        grid-template-columns: 1fr;
    }

    .ax-profile-tab-btn {
        padding: var(--ax-space-2) var(--ax-space-3);
        font-size: var(--ax-text-xs);
    }

    .ax-profile-panel {
        padding: var(--ax-space-4);
    }

    .ax-profile-portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   HESABI SİL (yalnız profil sahibi) — mobilde alt alta,
   ≥576px'te yan yana
   ============================================================= */
.ax-profile-danger-zone {
    margin-top: var(--ax-space-6);
    padding: var(--ax-space-4);
    border: 1px solid color-mix(in srgb, var(--ax-accent-danger) 25%, transparent);
    border-radius: var(--ax-radius-lg);
    background: color-mix(in srgb, var(--ax-accent-danger) 4%, transparent);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ax-space-3);
}

.ax-profile-danger-zone__title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--ax-space-1);
    color: var(--ax-accent-danger);
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
}

.ax-profile-danger-zone__desc {
    color: var(--ax-text-muted);
    font-size: var(--ax-text-xs);
}

.ax-profile-danger-zone__btn {
    background-color: transparent;
    color: var(--ax-accent-danger);
    border-color: var(--ax-accent-danger);
    border-radius: var(--ax-radius-full);
}
.ax-profile-danger-zone__btn:hover {
    background-color: var(--ax-accent-danger);
    color: var(--ax-text-primary);
}

@media (min-width: 576px) {
    .ax-profile-danger-zone {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .ax-profile-danger-zone__btn {
        flex-shrink: 0;
    }
}

/* =============================================================
   PROFİL DÜZENLE (profile_edit.html) — mobil önce: tek sütun,
   butonlar tam genişlik; ≥768px iki sütun, butonlar sağda
   ============================================================= */
.ax-profile-edit {
    background: var(--ax-bg-secondary);
    border: 1px solid var(--ax-border-default);
    border-radius: var(--ax-radius-xl);
    padding: var(--ax-space-4);
}

.ax-profile-edit__title {
    display: flex;
    align-items: center;
    gap: var(--ax-space-2);
    margin: 0 0 var(--ax-space-4);
    font-size: var(--ax-text-xl);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-text-primary);
}
.ax-profile-edit__title i { color: var(--ax-accent-primary-light); }

.ax-profile-edit__section {
    margin: var(--ax-space-2) 0 var(--ax-space-3);
    font-size: var(--ax-text-sm);
    font-weight: var(--ax-font-semibold);
    color: var(--ax-accent-primary-light);
}
.ax-profile-edit__section:not(:first-child) { margin-top: var(--ax-space-6); }

.ax-profile-edit__grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: var(--ax-space-4);
}
.ax-profile-edit__grid .ax-form-group { min-width: 0; }
.ax-profile-edit .ax-form-label i { color: var(--ax-text-muted); }

.ax-profile-edit__lead { margin: 0 0 var(--ax-space-3); }

.ax-profile-edit__selected {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--ax-space-2);
    min-height: 44px;
    margin-bottom: var(--ax-space-3);
    padding: var(--ax-space-3);
    border-radius: var(--ax-radius-md);
    background: color-mix(in srgb, var(--ax-accent-primary) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--ax-accent-primary) 18%, transparent);
}

/* İkon input'un yanında (içinde değil): bundle.css'teki global
   input{padding:…!important} sol dolguyu eziyor */
.ax-profile-edit__search {
    flex-direction: row;
    align-items: center;
}
.ax-profile-edit__search > i { color: var(--ax-text-muted); flex-shrink: 0; }
.ax-profile-edit__search .ax-form-control { flex: 1; min-width: 0; }

.ax-profile-edit__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ax-space-2);
}

.ax-profile-edit .skill-chip {
    display: inline-flex;
    align-items: center;
    padding: var(--ax-space-1) var(--ax-space-3);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-xs);
    font-weight: var(--ax-font-medium);
    cursor: pointer;
    user-select: none;
    background: var(--ax-bg-tertiary);
    border: 1px solid var(--ax-border-hover);
    color: var(--ax-text-secondary);
    transition: border-color var(--ax-transition-fast), color var(--ax-transition-fast),
                background-color var(--ax-transition-fast);
}
.ax-profile-edit .skill-chip:hover {
    border-color: color-mix(in srgb, var(--ax-accent-primary) 40%, transparent);
    color: var(--ax-accent-primary-light);
}
.ax-profile-edit .skill-chip.selected {
    background: color-mix(in srgb, var(--ax-accent-primary) 20%, transparent);
    border-color: color-mix(in srgb, var(--ax-accent-primary) 50%, transparent);
    color: var(--ax-accent-primary-light);
}
.ax-profile-edit .skill-chip.hidden { display: none; }

.ax-profile-edit .selected-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--ax-space-1);
    padding: 2px var(--ax-space-3);
    border-radius: var(--ax-radius-full);
    font-size: var(--ax-text-xs);
    font-weight: var(--ax-font-semibold);
    background: color-mix(in srgb, var(--ax-accent-primary) 20%, transparent);
    border: 1px solid color-mix(in srgb, var(--ax-accent-primary) 40%, transparent);
    color: var(--ax-accent-primary-light);
}
.ax-profile-edit .selected-tag .rm { cursor: pointer; opacity: .6; }
.ax-profile-edit .selected-tag .rm:hover { opacity: 1; }

.ax-profile-edit__checks {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-3);
}
.ax-profile-edit .ax-form-check { align-items: flex-start; }
.ax-profile-edit .ax-form-check-input { flex-shrink: 0; margin-top: 3px; }

.ax-profile-edit__actions {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--ax-space-2);
    margin-top: var(--ax-space-6);
    padding-top: var(--ax-space-4);
    border-top: 1px solid var(--ax-border-default);
}

@media (min-width: 768px) {
    .ax-profile-edit { padding: var(--ax-space-6); }
    .ax-profile-edit__grid { grid-template-columns: 1fr 1fr; }
    .ax-profile-edit__full { grid-column: 1 / -1; }
    .ax-profile-edit__actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

/* Profil fotoğrafı alanı — mobil: alt alta; ≥576px: önizleme solda */
.ax-profile-edit__avatar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ax-space-3);
}
.ax-profile-edit__avatar-preview {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--ax-radius-full);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--ax-accent-primary) 25%, var(--ax-bg-tertiary));
    border: 2px solid color-mix(in srgb, var(--ax-accent-primary) 45%, transparent);
    color: var(--ax-text-primary);
    font-size: var(--ax-text-2xl);
    font-weight: var(--ax-font-bold);
}
.ax-profile-edit__avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ax-profile-edit__avatar-actions {
    display: flex;
    flex-direction: column;
    gap: var(--ax-space-2);
    width: 100%;
    min-width: 0;
}
@media (min-width: 576px) {
    .ax-profile-edit__avatar {
        flex-direction: row;
        align-items: center;
    }
}
