/**
 * Kariyer başvuru — dar form kolonu, glass kart
 */

.career-page {
    box-sizing: border-box;
    padding: 8px 0 48px;
}

.career-page__header {
    text-align: center;
    margin-bottom: 22px;
}

.career-page__eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #2dd4d2;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(1, 177, 175, 0.28);
    border-radius: 100px;
}

.career-page__title {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #f4f8fc;
    line-height: 1.15;
}

.career-page__lead {
    margin: 0 auto;
    max-width: 32ch;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(196, 210, 224, 0.9);
}

.career-page__highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.career-page__highlights li {
    padding: 6px 12px;
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(232, 238, 242, 0.9);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
}

/* ---- Form kartı ---- */
.career-card,
.career-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 20px 22px;
    box-sizing: border-box;
    border-radius: 22px;
    overflow: hidden;
    color: #e8eef2;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.03) 42%,
        rgba(1, 177, 175, 0.05) 100%
    );
    backdrop-filter: blur(24px) saturate(1.65);
    -webkit-backdrop-filter: blur(24px) saturate(1.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15),
        0 20px 48px rgba(0, 0, 0, 0.38);
}

.career-card::after,
.career-wrapper::after {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 45%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 236, 233, 0.1),
        transparent 70%
    );
    pointer-events: none;
}

.career-card h1,
.career-wrapper h1 {
    display: none;
}

.career-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 auto;
}

.career-card .form-group,
.career-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.career-card label,
.career-wrapper label {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(232, 238, 242, 0.92);
    margin: 0;
}

.career-field,
.career-card input[type="text"],
.career-card input[type="email"],
.career-card input[type="tel"],
.career-card input[type="file"],
.career-card textarea,
.career-wrapper input[type="text"],
.career-wrapper input[type="email"],
.career-wrapper input[type="tel"],
.career-wrapper input[type="file"],
.career-wrapper textarea {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 11px 14px !important;
    font-size: 16px !important;
    font-family: inherit;
    color: #fff !important;
    background: rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 12px !important;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.career-field--textarea,
.career-card textarea,
.career-wrapper textarea {
    min-height: 120px !important;
    max-height: 220px;
    height: auto !important;
    resize: vertical;
    line-height: 1.5;
}

.career-field--file,
.career-card input[type="file"],
.career-wrapper input[type="file"] {
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
    cursor: pointer;
}

.career-card input[type="file"]::file-selector-button,
.career-wrapper input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 7px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    color: #021014;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #7af8f6 0%, #00ece9 50%, #01b1af 100%);
    cursor: pointer;
}

.career-field:focus,
.career-card input:focus,
.career-card textarea:focus,
.career-wrapper input:focus,
.career-wrapper textarea:focus {
    border-color: rgba(0, 236, 233, 0.55) !important;
    background: rgba(0, 0, 0, 0.32) !important;
    box-shadow: 0 0 0 3px rgba(1, 177, 175, 0.18);
}

.career-field::placeholder,
.career-card textarea::placeholder,
.career-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.career-card__submit,
.career-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 0;
    padding: 13px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #021014 !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer;
    background: linear-gradient(135deg, #7af8f6 0%, #00ece9 42%, #01b1af 100%) !important;
    box-shadow:
        0 8px 24px rgba(1, 177, 175, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.career-card__submit:hover,
.career-button:hover {
    box-shadow:
        0 12px 32px rgba(1, 177, 175, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.career-card__submit:active,
.career-button:active {
    transform: scale(0.98);
}

.career-page__note {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    text-align: center;
    color: rgba(184, 200, 216, 0.75);
}

@media (min-width: 992px) {
    .career-card,
    .career-wrapper {
        padding: 26px 22px 24px;
    }
}

@media (max-width: 991px) {
    .career-card,
    .career-wrapper {
        padding: 20px 16px 18px;
        border-radius: 18px;
    }
}

body.light-mode .career-page__title {
    color: #0f172a;
}

body.light-mode .career-page__lead {
    color: #475569;
}

body.light-mode .career-card,
body.light-mode .career-wrapper {
    color: #1a2836;
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(248, 250, 252, 0.94) 100%
    );
    border-color: rgba(1, 177, 175, 0.2);
}

body.light-mode .career-card label,
body.light-mode .career-wrapper label {
    color: #334155;
}

body.light-mode .career-field,
body.light-mode .career-card input,
body.light-mode .career-card textarea,
body.light-mode .career-wrapper input,
body.light-mode .career-wrapper textarea {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
}

body.light-mode .career-page__highlights li {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}
