* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a56db;
    --primary-dark: #1e429f;
    --primary-light: #3f83f8;
    --secondary-color: #0e7490;
    --accent-color: #dc2626;
    --text-dark: #111827;
    --text-medium: #374151;
    --text-light: #6b7280;
    --bg-gradient-start: #eff6ff;
    --bg-gradient-end: #dbeafe;
    --white: #ffffff;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    padding: 30px 20px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(26, 86, 219, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(14, 116, 144, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 920px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.logo {
    width: 110px;
    height: 110px;
    margin: 0 auto 25px;
    background: var(--white);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.logo:hover {
    transform: scale(1.05);
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.header h2 {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.5;
}

.bilgilendirme-alani {
    padding: 35px 40px;
    background: #f9fafb;
    border-bottom: 1px solid var(--border-light);
}

.uyari-kutusu {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 5px solid var(--warning);
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.uyari-icon {
    font-size: 28px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.uyari-icerik {
    color: #92400e;
    font-size: 15px;
    line-height: 1.6;
}

.uyari-icerik strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.pozisyon-bilgi {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pozisyon-bilgi h3 {
    color: var(--primary-dark);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pozisyon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.pozisyon-kategori {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.pozisyon-kategori:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.1);
    transform: translateY(-2px);
}

.pozisyon-kategori h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pozisyon-kategori ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pozisyon-kategori li {
    padding: 12px 0;
    color: var(--text-medium);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px dashed #e5e7eb;
    gap: 6px;
}

.pozisyon-baslik {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pozisyon-kategori li:last-child {
    border-bottom: none;
}

.kontenjan {
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.ilce-bilgi {
    font-size: 12px;
    color: var(--text-medium);
    margin-top: 8px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 3px solid var(--secondary-color);
    border-radius: 6px;
    font-weight: 500;
    width: 100%;
    display: block;
}

.toplam-kontenjan {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 18px 25px;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
    margin-top: 20px;
}

@media (max-width: 768px) {
    .bilgilendirme-alani {
        padding: 25px;
    }

    .pozisyon-grid {
        grid-template-columns: 1fr;
    }

    .pozisyon-bilgi {
        padding: 20px;
    }

    .pozisyon-bilgi h3 {
        font-size: 20px;
    }

    .uyari-kutusu {
        padding: 15px 18px;
        flex-direction: column;
        text-align: center;
    }

    .uyari-icon {
        font-size: 36px;
    }
}

form {
    padding: 45px 40px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    letter-spacing: 0.2px;
}

.required {
    color: var(--accent-color);
    font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}

.form-group input[readonly],
.form-group textarea[readonly] {
    background-color: #f9fafb;
    cursor: not-allowed;
    color: var(--text-medium);
}

.form-group select {
    width: 100%;
    padding: 14px 45px 14px 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    font-weight: 500;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231e429f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-group select:hover {
    border-color: var(--primary-light);
    background-color: #f8fafc;
}

.form-group select option {
    padding: 12px;
    font-size: 15px;
    background: var(--white);
    color: var(--text-dark);
}

.form-group select option:checked {
    background: var(--primary-color);
    color: var(--white);
}

.form-group select option[value=""] {
    color: var(--text-light);
}

/* Pozisyon seçici için özel stil */
#pozisyon {
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    font-weight: 600;
}

#pozisyon:focus {
    background-color: var(--white);
}

#pozisyon option:not([value=""]) {
    font-weight: 500;
    padding: 14px 16px;
}

#pozisyon option[value=""] {
    color: #94a3b8;
    font-style: italic;
}

/* Select wrapper için gradient border efekti */
.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.select-wrapper:focus-within::before {
    opacity: 1;
}

.date-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.date-selector select {
    width: 100%;
}

.sartlar-container {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid var(--primary-color);
    padding: 25px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.sartlar-container h3 {
    color: var(--primary-dark);
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sartlar-container h3::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
}

.sartlar-container ul {
    list-style: none;
    padding-left: 0;
}

.sartlar-container li {
    padding: 10px 0 10px 35px;
    position: relative;
    color: var(--text-medium);
    font-size: 18px;
    line-height: 1.6;
}

.sartlar-container li:before {
    content: "→";
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

.belgeler-container {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid var(--warning);
    padding: 25px;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.belgeler-container h3 {
    color: #92400e;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.belgeler-container h3::before {
    content: "📎";
    font-size: 22px;
}

.belge-item {
    margin-bottom: 20px;
    padding: 18px;
    background: var(--white);
    border-radius: 10px;
    border: 2px solid #fde68a;
    transition: all 0.3s ease;
}

.belge-item:hover {
    border-color: var(--warning);
    box-shadow: var(--shadow-md);
}

.belge-item label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.belge-item input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 2px dashed var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    font-size: 14px;
}

.belge-item input[type="file"]:hover {
    border-color: var(--warning);
    background: var(--warning-light);
}

.btn {
    padding: 15px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    display: inline-block;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: var(--white);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert::before {
    font-size: 20px;
}

.alert-success {
    background: var(--success-light);
    color: #065f46;
    border-left: 4px solid var(--success);
}

.alert-success::before {
    content: "✓";
}

.alert-error {
    background: var(--error-light);
    color: #991b1b;
    border-left: 4px solid var(--error);
    font-weight: 600;
}

.alert-error::before {
    content: "✕";
    font-weight: 700;
    font-size: 22px;
}

.alert-warning {
    background: var(--warning-light);
    color: #92400e;
    border-left: 4px solid var(--warning);
}

.alert-warning::before {
    content: "⚠";
}

.g-recaptcha {
    transform: scale(1);
    transform-origin: 0 0;
    margin: 10px 0;
}

@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    .container {
        border-radius: 20px;
    }

    .header {
        padding: 35px 25px;
    }

    .header h1 {
        font-size: 26px;
    }

    .header h2 {
        font-size: 16px;
    }

    .logo {
        width: 90px;
        height: 90px;
    }

    form {
        padding: 30px 25px;
    }

    .date-selector {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 13px 24px;
        font-size: 15px;
    }

    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: 0 0;
    }
}

.loading {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

select option {
    padding: 10px;
}

input::placeholder,
textarea::placeholder {
    color: var(--text-light);
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}