/* ===========================
   BASVURU MARKET STYLE
   karşılama sayfası market.php ile aynı tasarım
=========================== */

.basvuru-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.basvuru-title-block {
    display: flex;
    align-items: center;
    gap: 14px;
}
.basvuru-title-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent, #7c3aed), var(--accent-dark, #4f46e5));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(var(--accent-rgb, 124,58,237),0.3);
}
.basvuru-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
    line-height: 1.1;
}
.basvuru-subtitle-text {
    font-size: 12px;
    color: #555;
    margin-top: 2px;
}

/* LAYOUT */
.basvuru-layout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

/* SIDEBAR (positions / filters) */
.basvuru-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #111318;
    border-radius: 12px;
    padding: 16px 12px;
    position: sticky;
    top: 20px;
}
.basvuru-sidebar-title {
    font-size: 10px;
    font-weight: 700;
    color: #555;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-left: 4px;
}
.basvuru-pos-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.basvuru-pos-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 13px;
    color: #888;
}
.basvuru-pos-item:hover {
    background: #1a1c24;
    color: #ccc;
}
.basvuru-pos-item.active {
    background: rgba(var(--accent-rgb, 124,58,237),0.12);
    color: var(--accent-lighter, #c084fc);
    font-weight: 600;
}
.basvuru-pos-item .pos-icon {
    width: 18px;
    text-align: center;
    font-size: 13px;
    flex-shrink: 0;
    color: #555;
}
.basvuru-pos-item.active .pos-icon { color: var(--accent-lighter, #c084fc); }
.basvuru-pos-item .pos-badge {
    margin-left: auto;
    background: #1a1c24;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    color: #555;
}
.basvuru-pos-item.active .pos-badge {
    background: rgba(var(--accent-rgb, 124,58,237),0.15);
    color: var(--accent-lighter, #c084fc);
}

/* BANNER / HERO */
.basvuru-banner {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a, rgba(var(--accent-rgb, 124,58,237), 0.15));
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 14px;
}
.basvuru-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}
.basvuru-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
}
.basvuru-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}
.basvuru-banner-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent, #7c3aed), var(--accent-light, #a855f7));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    margin: 0 auto 12px;
    box-shadow: 0 8px 32px rgba(var(--accent-rgb, 124,58,237),0.25);
}
.basvuru-banner h1 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}
.basvuru-banner p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

/* CONTENT */
.basvuru-content {
    flex: 1;
    min-width: 0;
}

/* CARD GRID */
.basvuru-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

/* CARD */
.bas-card {
    background: #111318;
    border: 1px solid #1e2030;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.bas-card:hover {
    border-color: rgba(var(--accent-rgb, 124,58,237),0.25);
    box-shadow: 0 6px 24px rgba(var(--accent-rgb, 124,58,237),0.06);
    transform: translateY(-2px);
}

.bas-card-img {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.bas-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}
.bas-card-img-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255,255,255,0.3);
}

.bas-card-body {
    padding: 18px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bas-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 4px;
}
.bas-card-subtitle {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}
.bas-card-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 14px;
}
.bas-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.bas-card-questions {
    font-size: 11px;
    color: #555;
}
.bas-card-questions i { margin-right: 3px; color: var(--accent-lighter, #c084fc); }
.bas-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent, #7c3aed), var(--accent-hover, #6d28d9));
    color: #fff;
    font-family: 'Inter',sans-serif;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
.bas-card-btn:hover {
    background: linear-gradient(135deg, var(--accent-light, #8b5cf6), var(--accent, #7c3aed));
    box-shadow: 0 4px 16px rgba(var(--accent-rgb, 124,58,237),0.25);
}

/* EMPTY / ERROR STATES */
.bas-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #555;
}
.bas-empty i { font-size: 40px; margin-bottom: 12px; color: #333; }
.bas-empty h3 { font-size: 16px; color: #aaa; margin-bottom: 6px; }
.bas-empty p { font-size: 13px; color: #555; }

/* ===========================
   MODAL (market-style)
=========================== */
.bv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bv-modal-overlay.open {
    display: flex;
}
.bv-modal-box {
    background: #111318;
    border: 1px solid #1e2030;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 26px;
    position: relative;
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.bv-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #1e2030;
    background: #0a0b10;
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s;
}
.bv-modal-close:hover {
    background: #1a1c24;
    border-color: var(--accent, #7c3aed);
    color: #fff;
}
.bv-modal-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}
.bv-modal-head-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent, #7c3aed), var(--accent-light, #a855f7));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}
.bv-modal-head-text h3 {
    font-size: 16px;
    font-weight: 700;
    color: #f0f0f0;
}
.bv-modal-head-text p {
    font-size: 11px;
    color: #555;
}

.bv-field {
    margin-bottom: 14px;
}
.bv-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.bv-field label i { margin-right: 4px; }
.bv-field label .req { color: #f87171; margin-left: 2px; }
.bv-field input,
.bv-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: #0a0b10;
    border: 1px solid #1e2030;
    border-radius: 10px;
    color: #e8e8e8;
    font-family: 'Inter',sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.bv-field input:focus,
.bv-field textarea:focus {
    border-color: rgba(var(--accent-rgb, 124,58,237),0.4);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 124,58,237),0.08);
}
.bv-field textarea {
    min-height: 80px;
    resize: vertical;
    line-height: 1.5;
}
.bv-field input::placeholder,
.bv-field textarea::placeholder { color: #333; }

.bv-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent, #7c3aed), var(--accent-hover, #6d28d9));
    color: #fff;
    font-family: 'Inter',sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}
.bv-submit:hover {
    background: linear-gradient(135deg, var(--accent-light, #8b5cf6), var(--accent, #7c3aed));
    box-shadow: 0 4px 20px rgba(var(--accent-rgb, 124,58,237),0.25);
    transform: translateY(-1px);
}

/* SUCCESS STATE */
.bv-success {
    text-align: center;
    padding: 30px 10px;
}
.bv-success-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(52,211,153,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #34d399;
    margin: 0 auto 14px;
}
.bv-success h3 {
    font-size: 18px;
    color: #f0f0f0;
    margin-bottom: 6px;
}
.bv-success p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.bv-success-code {
    display: inline-block;
    background: #0a0b10;
    border: 1px solid #1e2030;
    border-radius: 10px;
    padding: 10px 24px;
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-lighter, #c084fc);
    letter-spacing: 2px;
    margin: 12px 0;
    font-family: 'JetBrains Mono', monospace;
}
.bv-success-note {
    font-size: 11px;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .basvuru-layout {
        flex-direction: column;
    }
    .basvuru-sidebar {
        width: 100%;
        position: static;
    }
    .basvuru-pos-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    .basvuru-pos-item {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 6px;
    }
    .basvuru-pos-item .pos-badge { display: none; }
    .basvuru-banner { height: 160px; }
    .basvuru-banner h1 { font-size: 22px; }
    .bas-card-grid { grid-template-columns: 1fr; }
    .bv-modal-box { padding: 20px 16px; margin: 10px; }
}

@media (max-width: 480px) {
    .basvuru-banner { height: 130px; }
    .basvuru-banner h1 { font-size: 18px; }
    .basvuru-title { font-size: 18px; }
}
