/* Panel & profil sayfaları — auth.css değişkenlerini kullanır */

.app-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg) !important;
    background-image: none;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1.15rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 9000;
    overflow: visible;
}

.app-logo a {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.app-logo span {
    color: var(--primary);
}

.app-header-tools {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.app-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

.menu-toggle {
    display: none;
}

@media (min-width: 769px) {
    .mob-tabbar {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .app-nav {
        display: none !important;
    }
}

.app-nav a,
.app-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.app-nav-icon,
.app-nav-icon svg {
    display: block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.app-nav-icon svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-nav-label {
    line-height: 1;
}

.app-nav a:hover,
.app-nav-link:hover {
    color: var(--text);
    background: var(--surface-2);
    border-color: rgba(0, 0, 0, 0.05);
}

.app-nav a.active,
.app-nav-link.active {
    color: var(--text);
    background: linear-gradient(180deg, rgba(212, 168, 83, 0.16), rgba(212, 168, 83, 0.05));
    border-color: rgba(212, 168, 83, 0.22);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.app-nav-link.active .app-nav-icon svg,
.app-nav a.active .app-nav-icon svg {
    color: var(--primary);
}

.app-nav .nav-badge {
    position: static;
    margin-left: 0.1rem;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: #1a1408;
    font-size: 0.68rem;
    font-weight: var(--fw-bold);
    border-radius: 999px;
    text-align: center;
}

.app-nav-icon-wrap,
.mob-tab-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-activity-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nav-activity-dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1.5px solid var(--surface, #fff);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.nav-activity-dot[hidden] {
    display: none;
}

.nav-activity-dot--tl {
    top: -2px;
    left: -3px;
    background: var(--venue-incoming);
}

.nav-activity-dot--tr {
    top: -2px;
    right: -3px;
    background: var(--venue-outgoing);
}

.browse-tab-label-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 0.35rem;
}

.venue-apps-tab .nav-activity-dot--tl {
    top: -4px;
    left: -2px;
}

.venue-apps-tab .nav-activity-dot--tr {
    top: -4px;
    right: -2px;
}

.app-header-tool-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-header-tool-link:hover,
.app-header-tool-link.active {
    background: rgba(212, 168, 83, 0.1);
    border-color: rgba(212, 168, 83, 0.18);
}

.app-header-tool-icon,
.app-header-tool-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.app-header-tool-icon svg {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-header-tool-link.active .app-header-tool-icon svg {
    color: var(--primary);
}

.app-header-tool-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--primary);
    color: #1a1408;
    font-size: 0.68rem;
    font-weight: var(--fw-bold);
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 10px rgba(212, 168, 83, 0.35);
}

.app-header-tool-badge[hidden] {
    display: none;
}

/* —— Tema değiştirici —— */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.theme-toggle:hover {
    color: var(--text);
    background: var(--primary-soft);
    border-color: rgba(201, 162, 39, 0.18);
}

.theme-toggle-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.theme-toggle-sun { display: none; }
.theme-toggle-moon { display: block; }

:root[data-theme="dark"] .theme-toggle-sun { display: block; }
:root[data-theme="dark"] .theme-toggle-moon { display: none; }

:root[data-theme="dark"] .theme-toggle { color: var(--primary); }

.app-nav .nav-user {
    color: var(--text);
    font-size: 0.8rem;
    padding: 0.5rem 0.85rem;
    border-left: 1px solid var(--border);
    margin-left: 0.5rem;
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
}

.app-main {
    flex: 1;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 1.15rem 1.15rem 2rem;
    overflow-x: clip;
    min-height: 0;
}

.app-main.wide {
    max-width: 960px;
}

.app-main-inner {
    min-height: 0;
}

.page-header {
    margin-bottom: 1rem;
}

.page-header-compact {
    margin-bottom: 0.75rem;
}

.page-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 0;
}

.page-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    max-width: 720px;
}

.profile-card:has(.venue-job-form) {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-section {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.profile-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.profile-section-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.profile-card .form-group {
    margin-bottom: 1.15rem;
}

.profile-card .form-group:last-child {
    margin-bottom: 0;
}

.profile-card .form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.45rem;
    color: var(--text-muted);
}

.profile-card .form-group input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.profile-card .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.profile-card .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239aa3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.profile-card .form-group input::placeholder {
    color: #6b7280;
}

.profile-card .form-group input:focus,
.profile-card .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.profile-card .form-group input[readonly] {
    opacity: 0.7;
    cursor: not-allowed;
    background: var(--bg);
}

.field-error {
    display: block;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.field-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.field-required {
    color: var(--primary);
    font-weight: 700;
}

.field-optional {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.75;
}

.profile-card input[type="date"],
.profile-card input[type="time"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    min-height: 44px;
}

.profile-card input[type="date"]:focus,
.profile-card input[type="time"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

/* İlan formu — şampanya vurgu */
.venue-job-form .form-group input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.venue-job-form .form-group select,
.venue-job-form .form-group textarea {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.venue-job-form .form-group input:focus,
.venue-job-form .form-group select:focus,
.venue-job-form .form-group textarea:focus {
    outline: none;
    border-color: rgba(201, 162, 39, 0.45);
    background: var(--surface);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.12);
}

.venue-job-form .job-schedule-fields {
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    min-height: 110px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--surface-2);
    border: 1px dashed var(--border);
    border-radius: 12px;
}

.file-upload-body {
    flex: 1;
    min-width: 0;
}

.file-preview {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--bg);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.file-preview.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.file-upload input[type="file"] {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-upload-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.form-actions .btn {
    width: auto;
    min-width: 140px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, transform 0.15s;
}

.dashboard-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.dashboard-card-icon {
    font-size: 1.5rem;
}

.dashboard-card-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.dashboard-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.menu-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-family: inherit;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* İlan & başvuru bileşenleri */

/* Keşfet — yuvarlak mikro filtre şeridi */
.browse-filter-strip {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
    padding: 0.15rem 0.05rem 0.35rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.browse-filter-strip::-webkit-scrollbar {
    display: none;
}

.browse-filter-chip {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 4.25rem;
    min-height: 4.25rem;
    padding: 0.4rem 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
    box-shadow: var(--shadow-xs, 0 1px 2px rgba(0,0,0,0.04));
}

.browse-filter-chip.is-active {
    border-color: rgba(201, 162, 39, 0.4);
    background: var(--gold-50, #faf6eb);
    box-shadow: 0 2px 10px rgba(201, 162, 39, 0.12);
}

.browse-filter-chip-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text);
}

.browse-filter-chip-value {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text);
    max-width: 5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browse-filter-clear {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    white-space: nowrap;
}

.browse-filter-clear:hover {
    color: var(--primary);
}

.browse-saved-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.3rem 0 0.55rem;
}

.browse-saved-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.52rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
}

.browse-saved-filter-chip:hover {
    color: var(--text);
    border-color: rgba(201, 162, 39, 0.34);
}

.browse-save-filter-form {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    margin: 0.1rem 0 0.8rem;
}

.browse-save-filter-form input[type="text"] {
    flex: 1;
    min-width: 170px;
    padding: 0.46rem 0.66rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.8rem;
}

.browse-save-filter-form .btn {
    width: auto;
}

/* Filtre seçim modalı */
.browse-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.browse-filter-modal[hidden] {
    display: none !important;
}

.browse-filter-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.browse-filter-dialog {
    position: relative;
    z-index: 1;
    width: min(92vw, 320px);
    max-height: min(70vh, 420px);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: browse-filter-in 0.22s ease-out;
}

@keyframes browse-filter-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.browse-filter-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--separator);
}

.browse-filter-dialog-head h2 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.browse-filter-dialog-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.browse-filter-options {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.45rem;
}

.browse-filter-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.25rem;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
}

.browse-filter-option:hover,
.browse-filter-option.is-selected {
    background: var(--surface-2);
    border-color: var(--border);
}

.browse-filter-option.is-selected {
    color: var(--gold-700, #7a6118);
    border-color: rgba(201, 162, 39, 0.3);
    background: var(--gold-50, #faf6eb);
}

/* .job-list grid — base.css */

.job-venue-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08) 0%, rgba(166, 124, 46, 0.04) 100%);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 12px;
}

.job-venue-banner-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--surface-2);
    flex-shrink: 0;
}

.job-venue-banner-logo.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.job-venue-banner-text {
    min-width: 0;
}

.job-venue-label,
.applicant-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.85;
    margin-bottom: 0.2rem;
}

.job-venue-name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.25;
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.job-venue-city {
    font-size: 0.9rem;
    color: var(--accent-light);
    margin-top: 0.25rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.job-meta span {
    font-size: 0.78rem;
    padding: 0.25rem 0.6rem;
    background: var(--surface-2);
    border-radius: 6px;
    color: var(--text-muted);
}

.badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-open {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.badge-closed {
    background: rgba(142, 142, 147, 0.12);
    color: var(--text-muted);
}

.badge-pending {
    background: rgba(234, 179, 8, 0.12);
    color: #7a6118;
}

.badge-accepted {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.badge-rejected {
    background: rgba(255, 59, 48, 0.1);
    color: #c41e16;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 4px 12px rgba(201, 162, 39, 0.18));
}

/* —— Skeleton (yükleme yer tutucusu) — tema-duyarlı, tutarlı —— */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        transparent,
        rgba(201, 162, 39, 0.10),
        transparent
    );
    animation: skeleton-shimmer 1.3s var(--ease) infinite;
}

.skeleton-text {
    height: 0.75rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.05rem;
    width: 60%;
    margin-bottom: 0.65rem;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-card {
    min-height: 10.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.9rem;
}

@keyframes skeleton-shimmer {
    100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton::after { animation: none; }
}

.job-detail-header {
    margin-bottom: 1.5rem;
}

.job-detail-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.job-detail-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    white-space: pre-wrap;
}

.applicant-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.applicant-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    align-items: flex-start;
}

.applicant-avatar {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--bg);
    flex-shrink: 0;
}

.applicant-avatar.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.applicant-info {
    flex: 1;
    min-width: 0;
}

.applicant-name {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.2px;
    color: var(--text);
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.applicant-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.applicant-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.65rem;
}

.applicant-actions .btn {
    width: auto;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
}

.btn-success {
    background: #16a34a;
    color: #fff;
}

.btn-success:hover {
    background: #15803d;
}

.btn-danger {
    background: transparent;
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
}

.page-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.page-actions .btn {
    width: auto;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

/* Profil menüsü */
.nav-profile-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 9999;
}

.nav-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.45rem 0.25rem 0.25rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}

.nav-profile-btn:hover,
.nav-profile-btn[aria-expanded="true"] {
    background: var(--surface-2);
    border-color: var(--border);
}

.nav-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.nav-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-profile-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.85rem;
}

.nav-profile-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.62rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.03em;
    color: var(--gold-700, #7a6118);
    line-height: 1;
}

.nav-profile-name {
    font-size: 0.78rem;
    font-weight: 500;
    max-width: 7rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-profile-chevron {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.nav-profile-menu {
    position: fixed;
    top: 3.5rem;
    right: 1rem;
    min-width: 11.5rem;
    padding: 0.4rem;
    background: var(--glass) !important;
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid var(--separator);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    pointer-events: auto;
    transform-origin: top right;
}

.nav-profile-menu-head {
    padding: 0.55rem 0.65rem 0.5rem;
    border-bottom: 1px solid var(--separator);
    margin-bottom: 0.25rem;
}

.nav-profile-menu-head strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-profile-menu-head span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.nav-profile-menu a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
}

.nav-profile-menu a svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.88;
}

.nav-profile-menu a:hover {
    color: var(--text);
    background: var(--surface-2);
}

.nav-profile-logout {
    color: var(--error) !important;
    margin-top: 0.15rem;
    border-top: 1px solid var(--separator);
    border-radius: 0 0 8px 8px;
    padding-top: 0.6rem !important;
}

.nav-profile-logout:hover {
    background: var(--error-soft) !important;
}

.profile-card .form-group input[type="number"] {
    -moz-appearance: textfield;
}

.profile-card .form-group input[type="number"]::-webkit-inner-spin-button,
.profile-card .form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Nav okunmamış rozeti — legacy fallback */
.nav-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 10px;
    text-align: center;
    margin-left: 4px;
}

/* Keşfet sekmeleri */
.browse-solo-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 0.85rem;
    color: var(--text);
}

.browse-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem;
    margin-bottom: 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.browse-tabs::-webkit-scrollbar {
    display: none;
}

.browse-tab {
    flex: 1;
    min-width: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 0.75rem;
    border-radius: 11px;
    text-decoration: none;
    color: var(--text-muted);
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-align: center;
}

.browse-tab:hover {
    color: var(--text);
    background: var(--surface);
}

.browse-tab.active {
    color: var(--text);
    background: var(--surface);
    border-color: rgba(201, 162, 39, 0.28);
    box-shadow: var(--shadow-sm);
}

.browse-tab-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
    text-transform: none;
}

.browse-tab.active .browse-tab-label {
    font-weight: var(--fw-bold);
    letter-spacing: 0.05em;
    color: var(--gold-700, #7a6118);
}

.browse-create-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.browse-my-link {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
}

.browse-my-link:hover {
    color: var(--primary);
}

.btn-sm {
    width: auto;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
}

.browse-panel {
    width: 100%;
    max-width: 100%;
}

body.browse-filter-open {
    overflow: hidden;
}
