/* assets/css/apply.css — başvuru formu (v4), site.css tokenlarını kullanır */

.ap-hero { padding-bottom: 40px; }
.ap-hero .pg-lead { max-width: 620px; }
.ap-switch { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--s-line); background: var(--s-surface-2); color: var(--s-text-2); font-size: .86rem; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; }
.ap-switch:hover { color: #fff; border-color: var(--s-line-strong); }
.ap-switch i { color: #a78bfa; }

.ap-section { padding-top: 0; }
.ap-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }

/* Yan kolon */
.ap-aside { position: sticky; top: 120px; display: grid; gap: 16px; }
.ap-steps { list-style: none; margin: 0; padding: 10px; border-radius: 22px; border: 1px solid var(--s-line); background: var(--s-surface); display: grid; gap: 4px; }
.ap-steps li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; color: var(--s-text-3); transition: background .2s, color .2s; }
.ap-steps li.is-clickable { cursor: pointer; }
.ap-steps li.is-clickable:hover { background: var(--s-surface-2); }
.ap-steps li b { display: block; font-size: .95rem; font-weight: 600; color: inherit; }
.ap-steps li small { display: block; font-size: .78rem; color: var(--s-text-3); }
.ap-steps .n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--s-line-strong); font-weight: 700; font-size: .88rem; transition: background .25s, border-color .25s; }
.ap-steps li.is-active { color: #fff; background: rgba(139, 92, 246, .1); }
.ap-steps li.is-active .n { background: var(--s-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 22px -8px rgba(139, 92, 246, .9); }
.ap-steps li.is-done { color: var(--s-text-2); }
.ap-steps li.is-done .n { background: rgba(52, 211, 153, .14); border-color: rgba(52, 211, 153, .4); color: transparent; position: relative; }
.ap-steps li.is-done .n::after { content: '\f00c'; position: absolute; font: 900 .8rem 'Font Awesome 6 Free'; color: #6ee7b7; }

.ap-note { padding: 20px; border-radius: 20px; border: 1px solid var(--s-line); background: var(--s-grad-soft); }
.ap-note.is-soft { background: var(--s-surface-2); }
.ap-note h4 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-size: .95rem; color: #fff; }
.ap-note h4 i { color: #a78bfa; font-size: .9rem; }
.ap-note p { margin: 0; font-size: .86rem; line-height: 1.6; color: var(--s-text-2); }
.ap-note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ap-note li { position: relative; padding-left: 18px; font-size: .86rem; line-height: 1.5; color: var(--s-text-2); }
.ap-note li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--s-grad); }

/* Form kartı */
.ap-card { position: relative; padding: 36px 40px 30px; border-radius: 28px; border: 1px solid var(--s-line); background: var(--s-surface); backdrop-filter: blur(18px); overflow: hidden; }
.ap-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(255, 255, 255, .05); }
.ap-progress i { display: block; height: 100%; width: 33%; background: var(--s-grad); transition: width .45s var(--s-ease); }
.ap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.ap-panel { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.ap-panel.is-active { display: grid; gap: 22px; animation: apIn .4s var(--s-ease); }
@keyframes apIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ap-legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; font: 700 1.55rem/1.2 var(--font-heading); letter-spacing: -.4px; color: #fff; }
.ap-legend span { display: block; margin-bottom: 6px; font: 600 .78rem/1 var(--font-body); letter-spacing: .4px; color: #a78bfa; }
.ap-legend + * { clear: both; }

.ap-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ap-field { min-width: 0; }
.ap-label { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.ap-label em, .ap-check em { font-style: normal; color: #f472b6; }
.ap-label .fa-spotify { color: #1ed760; }
.ap-label .fa-apple { color: #fff; }
.ap-label .fa-instagram { color: #f472b6; }
.ap-hint { margin: 7px 0 0; font-size: .8rem; line-height: 1.5; color: var(--s-text-3); }
.ap-hint-top { margin: -4px 0 12px; }
.ap-count { text-align: right; }

.ap-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--s-line-strong);
    background: rgba(0, 0, 0, .3);
    color: #fff;
    font: 500 .98rem/1.4 var(--font-body);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea.ap-input { min-height: 130px; resize: vertical; line-height: 1.6; }
select.ap-input { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23ffffffaa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
select.ap-input option { background: #12121b; color: #fff; }
.ap-input::placeholder { color: rgba(255, 255, 255, .33); }
.ap-input:focus { outline: none; border-color: rgba(139, 92, 246, .7); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); background: rgba(0, 0, 0, .42); }
.ap-input.is-invalid { border-color: rgba(244, 63, 94, .7); box-shadow: 0 0 0 4px rgba(244, 63, 94, .12); }
.ap-error { display: flex; align-items: center; gap: 7px; margin: 8px 0 0; font-size: .8rem; font-weight: 500; color: #fda4af; }

/* Seçim kutuları */
.ap-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; border-radius: 16px; }
.ap-choices.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ap-choices.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-choices.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ap-choices.is-invalid { box-shadow: 0 0 0 1px rgba(244, 63, 94, .6); }
.ap-choice { position: relative; cursor: pointer; }
.ap-choice input { position: absolute; opacity: 0; pointer-events: none; }
.ap-choice span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--s-line-strong); background: rgba(0, 0, 0, .25); color: var(--s-text-2); font-size: .9rem; font-weight: 500; text-align: center; transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.ap-choice:hover span { border-color: rgba(255, 255, 255, .28); color: #fff; }
.ap-choice input:checked + span { border-color: rgba(139, 92, 246, .8); background: rgba(139, 92, 246, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .5); }
.ap-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(139, 92, 246, .3); }
.ap-choice i { color: #a78bfa; }

.ap-reveal { display: grid; gap: 22px; }
.ap-reveal[hidden] { display: none; }
.ap-field.ap-reveal { display: block; }
.ap-field.ap-reveal[hidden] { display: none; }

/* Sosyal medya ve label sanatçıları */
.ap-socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ap-social { position: relative; display: block; }
.ap-social i { position: absolute; left: 15px; top: 50%; translate: 0 -50%; font-size: 1rem; color: var(--s-text-3); pointer-events: none; }
.ap-social .ap-input { padding-left: 42px; font-size: .9rem; }
.ap-social:focus-within i { color: #fff; }
.ap-artists { display: grid; gap: 10px; }
.ap-artist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 44px; gap: 10px; }
.ap-icon-btn { width: 44px; border-radius: 12px; border: 1px solid var(--s-line); background: transparent; color: var(--s-text-3); cursor: pointer; transition: color .2s, border-color .2s; }
.ap-icon-btn:hover { color: #fda4af; border-color: rgba(244, 63, 94, .4); }
.ap-icon-btn[hidden] { display: block; visibility: hidden; }
.ap-add { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 14px; border-radius: 12px; border: 1px dashed var(--s-line-strong); background: transparent; color: var(--s-text-2); font: 600 .86rem var(--font-body); cursor: pointer; }
.ap-add:hover { color: #fff; border-color: rgba(139, 92, 246, .6); }
.ap-add[hidden] { display: none; }

/* Özet ve onaylar */
.ap-summary { display: grid; gap: 12px; }
.ap-sum { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--s-line); background: var(--s-surface-2); }
.ap-sum-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ap-sum-head b { color: #fff; font-size: .95rem; }
.ap-sum-head button { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--s-line-strong); background: transparent; color: var(--s-text-2); font: 600 .78rem var(--font-body); cursor: pointer; }
.ap-sum-head button:hover { color: #fff; }
.ap-sum dl { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 16px; margin: 0; }
.ap-sum dt { font-size: .82rem; color: var(--s-text-3); }
.ap-sum dd { margin: 0; font-size: .88rem; color: rgba(255, 255, 255, .9); overflow-wrap: anywhere; }

.ap-checks { display: grid; gap: 4px; }
.ap-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; cursor: pointer; transition: background .2s; }
.ap-check:hover { background: var(--s-surface-2); }
.ap-check.is-invalid { background: rgba(244, 63, 94, .08); }
.ap-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #8b5cf6; cursor: pointer; }
.ap-check span { font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.ap-check.is-muted span { color: var(--s-text-2); }
.ap-check a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.ap-checks .ap-error { margin: -2px 0 6px 46px; }

.ap-nav { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--s-line); }
.ap-nav .ap-next, .ap-nav .ap-submit { margin-left: auto; }
.ap-nav .n-btn[hidden] { display: none; }
.ap-nav .n-btn:disabled { opacity: .7; cursor: progress; }

.ap-alert { display: flex; gap: 14px; margin-bottom: 24px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(244, 63, 94, .35); background: rgba(244, 63, 94, .08); color: #fecdd3; font-size: .9rem; }
.ap-alert > i { margin-top: 3px; color: #fb7185; }
.ap-alert ul { margin: 6px 0 0; padding-left: 18px; }

@media (max-width: 1024px) {
    .ap-layout { grid-template-columns: 1fr; }
    .ap-aside { position: static; }
    .ap-aside .ap-note { display: none; }
    .ap-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ap-steps li small { display: none; }
}
@media (max-width: 680px) {
    .ap-card { padding: 28px 20px 22px; border-radius: 22px; }
    .ap-row, .ap-socials, .ap-choices.is-2 { grid-template-columns: 1fr; }
    .ap-choices.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ap-choices.is-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ap-steps { padding: 6px; }
    .ap-steps li { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; }
    .ap-steps li b { font-size: .8rem; }
    .ap-artist { grid-template-columns: minmax(0, 1fr) 44px; }
    .ap-artist input[type=url] { grid-column: 1; grid-row: 2; }
    .ap-artist .ap-icon-btn { grid-row: 1 / span 2; grid-column: 2; }
    .ap-sum dl { grid-template-columns: 1fr; gap: 2px; }
    .ap-sum dd { margin-bottom: 8px; }
    .ap-legend { font-size: 1.3rem; }
    .ap-nav .n-btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .ap-panel.is-active { animation: none; }
}
