:root {
    --main: #43b3d8;
    --main-dark: #3a9ec2;
    --border: #dbe5ea;
    --bg-soft: #f7f9fb;
    --text-dark: #333;
    --radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d5dfe2 0%, #f5f7f8 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, #43b3d8 0%, #3a9ec2 100%);
    padding: 1rem 0.2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-left: auto;

}

/* ===== Main Container ===== */
.main-wrapper {
    min-height: calc(100vh - 180px);
    padding: 2rem 1rem;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-title {
    color: #43b3d8;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* ===== Alerts ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left-color: #4caf50;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left-color: #f44336;
}

.alert strong {
    display: block;
    margin-bottom: 0.25rem;
}

/* ===== Form Sections ===== */
h2 {
    color: #43b3d8;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d5dfe2;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.4rem;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 500;
    color: #444;
    font-size: 0.9rem;
}

.required {
    color: var(--main);
    font-weight: 600;
}

/* ===== Inputs ===== */
input,
textarea {
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.25s ease;
    font-family: inherit;
}


input:hover,
textarea:hover {
    border-color: #c7d7df;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 4px rgba(67, 179, 216, 0.12);
    transform: translateY(-1px);
}

/* ===== Grid ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.4rem;
}

small {
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: block;
}

/* ===== Divider ===== */
hr {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #d5dfe2, transparent);
    margin: 2.5rem 0;
}

/* ===== Camera Section ===== */
.camera-box {
    border: 2px dashed var(--border);
    border-radius: 14px;
    padding: 2.2rem;
    text-align: center;
    background: linear-gradient(180deg, #f9fbfc, #f2f6f9);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.camera-box:hover {
    border-color: var(--main);
    background: #f4fbfe;
}

video,
img {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* ===== Buttons ===== */
button {
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
    font-family: inherit;
}

/* Primary */
.btn-primary {
    background: linear-gradient(135deg, var(--main), var(--main-dark));
    color: white;
    box-shadow: 0 6px 18px rgba(67, 179, 216, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 24px rgba(67, 179, 216, 0.45);
}

/* Secondary */
.btn-secondary {
    background: #e9eef2;
    color: #444;
}

.btn-secondary:hover {
    background: #dde5ea;
}

/* Submit */
.submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.05rem;
    margin-top: 1.5rem;
    border-radius: 14px;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}


/* ===== Work History Items ===== */
.work-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    position: relative;
    border: 1px solid #d5dfe2;
}

.work-item h3 {
    color: #43b3d8;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.btn-remove {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-remove:hover {
    background: #c82333;
}

/* ===== Position Selection ===== */
.position-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.position-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.25s ease;
    background: #f9fbfc;
    user-select: none;
}

.position-option:hover {
    border-color: var(--main);
    background: #f0f9fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 179, 216, 0.15);
}

.position-option input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--main);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    transform: none;
}

.position-option input[type="radio"]:focus {
    box-shadow: none;
    transform: none;
}

.position-option:has(input:checked) {
    border-color: var(--main);
    background: linear-gradient(135deg, #e8f7fc, #f0fbff);
    box-shadow: 0 4px 14px rgba(67, 179, 216, 0.25);
}

.position-label {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
}

.position-option:has(input:checked) .position-label {
    color: var(--main-dark);
}

/* ===== KVKK Onay Kutusu ===== */
.kvkk-box {
    background: linear-gradient(135deg, #f0f9fd, #e8f7fc);
    border: 1.5px solid #b8e0ef;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
}

.kvkk-label {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    cursor: pointer;
    font-weight: normal;
    color: #444;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

.kvkk-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--main);
    cursor: pointer;
    padding: 0;
    border: none;
    box-shadow: none;
    transform: none;
}

.kvkk-label input[type="checkbox"]:focus {
    box-shadow: none;
    transform: none;
}

/* ===== Gizlilik Kartı ===== */
.privacy-banner {
    padding: 2rem 1rem 3rem;
    background: transparent;
}

.privacy-banner-inner {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    background: #fff;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 8px 32px rgba(67, 179, 216, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1.5px solid rgba(67, 179, 216, 0.2);
    position: relative;
    overflow: hidden;
}

/* Sol dekoratif şerit */
.privacy-banner-inner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #43b3d8, #3a9ec2);
    border-radius: 20px 0 0 20px;
}

.privacy-banner-icon {
    font-size: 2.8rem;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(67, 179, 216, 0.35));
}

.privacy-banner-content h3 {
    color: #2a7a9a;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    border: none;
    padding: 0;
}

.privacy-banner-content p {
    color: #555;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}

.privacy-banner-content p strong {
    color: #2c3e50;
}

.privacy-banner-badges {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex-shrink: 0;
}

.privacy-badge {
    background: linear-gradient(135deg, #e8f7fc, #f0fbff);
    border: 1px solid rgba(67, 179, 216, 0.4);
    color: #2a7a9a;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .privacy-banner-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .privacy-banner-inner::before {
        width: 100%;
        height: 5px;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        border-radius: 20px 20px 0 0;
    }

    .privacy-banner-icon {
        display: none;
    }

    .privacy-banner-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* ===== Fotoğraf Uyarısı ===== */
.photo-warning {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #fff8e1, #fffde7);
    border: 1.5px solid #ffe082;
    border-left: 4px solid #ffc107;
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.5rem;
}

.photo-warning-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.photo-warning strong {
    display: block;
    color: #e65100;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.photo-warning p {
    margin: 0;
    color: #5d4037;
    font-size: 0.9rem;
    line-height: 1.55;
}

.photo-warning p strong {
    display: inline;
    color: #bf360c;
}

/* ===== KVKK Link ===== */
.kvkk-link {
    color: var(--main-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.kvkk-link:hover {
    color: #2a7a9a;
}

@media (max-width: 768px) {
    .privacy-banner-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .privacy-banner-icon {
        display: none;
    }

    .privacy-banner-badges {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ===== Footer ===== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #43b3d8;
}

.footer-text {
    color: #d5dfe2;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-copyright {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 1.5rem;
    }

    .header-subtitle {
        display: none;
    }

    .page-title {
        font-size: 1.5rem;
    }
}

/* ===== Upload Cards (Belgeler) ===== */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.upload-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border: 2px dashed var(--border);
    border-radius: 14px;
    background: #f9fbfd;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    user-select: none;
}

.upload-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(67, 179, 216, 0.06), transparent);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.upload-card:hover {
    border-color: var(--main);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(67, 179, 216, 0.18);
}

.upload-card:hover::before {
    opacity: 1;
}

/* Required card accent */
.upload-card.required-card {
    border-color: #c8e6ef;
    background: linear-gradient(135deg, #f4fbfe, #eef8fc);
}

.upload-card.required-card:hover {
    border-color: var(--main);
    background: linear-gradient(135deg, #e8f7fc, #f0fbff);
}

/* Optional card */
.upload-card.optional {
    border-style: dashed;
    opacity: 0.88;
}

.upload-card.optional:hover {
    opacity: 1;
}

/* Selfie card */
.upload-card.selfie-card {
    background: linear-gradient(135deg, #f0f4ff, #f4fbfe);
    border-color: #b8c8ef;
}

.upload-card.selfie-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 22px rgba(102, 126, 234, 0.18);
}

/* Icon circle */
.upload-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--main), var(--main-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 4px 12px rgba(67, 179, 216, 0.35);
    transition: transform 0.25s ease;
}

.upload-card:hover .upload-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.upload-card.selfie-card .upload-card-icon {
    background: linear-gradient(135deg, #667eea, #5a6fd8);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

/* Body text */
.upload-card-body {
    flex: 1;
    min-width: 0;
}

.upload-card-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #333;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.upload-card-desc {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 6px;
    line-height: 1.4;
}

.upload-card-chosen {
    font-size: 0.78rem;
    color: var(--main-dark);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.2s;
}

.upload-card-chosen.empty {
    color: #bbb;
    font-weight: 400;
}

/* Badge chips */
.upload-badge {
    font-size: 0.67rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.required-badge {
    background: linear-gradient(135deg, #e8f7fc, #d8f0f8);
    color: var(--main-dark);
    border: 1px solid rgba(67, 179, 216, 0.4);
}

.optional-badge {
    background: #f0f0f0;
    color: #999;
    border: 1px solid #ddd;
}

/* Hide actual file input */
.upload-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Chosen state */
.upload-card.file-chosen {
    border-style: solid;
    border-color: var(--main);
    background: linear-gradient(135deg, #e8f7fc, #f0fbff);
}

.upload-card.file-chosen .upload-card-icon {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
}

@media (max-width: 700px) {
    .upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .upload-grid {
        grid-template-columns: 1fr;
    }
}