﻿/* Üst sekme barı */
.crew-tab-strip {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
}

.crew-tab-strip-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.crew-tab-filter-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
}

/* Sekme butonları */
.crew-top-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    flex: 1 1 auto;
}

.crew-top-tab {
    border: 1px solid transparent;
    border-radius: 999px 999px 0 0;
    padding: 0.35rem 1.1rem;
    background-color: transparent;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease,
                color 0.15s ease,
                border-color 0.15s ease;
}

.crew-top-tab:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.crew-top-tab.active {
    background-color: #ffffff;
    color: #0d6efd;
    border-color: #e5e7eb;
    border-bottom-color: #ffffff;
}

/* Sekme gövdesi kartı */
.card.crew-tab-card {
    border-radius: 0 12px 12px 12px;
    border: 1px solid #e5e7eb;
    border-top: none;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

/* Formu biraz sıkılaştır */
.crew-tab-card .form-control,
.crew-tab-card .form-select {
    padding: 0.25rem 0.55rem;
    font-size: 0.82rem;
    border-radius: 0.55rem;
}

.crew-tab-card label.form-label {
    font-size: 0.78rem;
    margin-bottom: 0.15rem;
}

.crew-tab-card .row.g-3 {
    row-gap: 0.65rem;
}

/* Tab içerik görünürlüğü */
.crew-tab-pane {
    display: none;
}

.crew-tab-pane.active {
    display: block;
}

/* Avatar alanı */
.crew-avatar {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #38bdf8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.crew-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.crew-avatar-initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.crew-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.crew-avatar-actions .btn {
    padding-inline: 0.75rem;
}

/* Personel kartı layout ekleri */
.crew-edit-wrapper {
    max-width: 1200px;
}

/* Üst kart (avatar + temel bilgiler) */
.crew-header-card {
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

/* İç bölüm kartları */
.crew-section-card {
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.crew-section-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

    .crew-section-title small {
        font-weight: 400;
        color: #9ca3af;
    }

/* + butonu */
.crew-plus-btn {
    border-radius: 999px;
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Küçük bilgi pillleri (durum, gemi vs) */
.crew-meta-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

    .crew-meta-pill i {
        font-size: 0.8rem;
    }

/* Küçük label ve açıklama yazıları */
.crew-form-label-sm {
    font-size: 0.8rem;
    font-weight: 500;
    color: #4b5563;
}

.crew-form-text-sm {
    font-size: 0.75rem;
}

/* Profil avatarı üzerindeki küçük badge (kamera ikonu) */
.crew-avatar-badge {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 999px;
}

/* Yüklenen dosya küçük thumb */
.crew-files-thumb {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    object-fit: cover;
}
