* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 50px 40px;
    text-align: center;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="25" r="3" fill="rgba(255,255,255,0.08)"/><circle cx="25" cy="75" r="1.5" fill="rgba(255,255,255,0.12)"/><circle cx="75" cy="75" r="2.5" fill="rgba(255,255,255,0.07)"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(-100px);
    }
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.logo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.header-text h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-text p {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.4;
}

.content {
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.alert-section {
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 20%, #ffffff 100%);
    border: 2px solid #fc8181;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(252, 129, 129, 0.15);
}

.alert-icon {
    width: 60px;
    height: 60px;
    background: #e53e3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.alert-title {
    font-size: 28px;
    font-weight: 700;
    color: #e53e3e;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.alert-text {
    font-size: 18px;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.6;
}

.section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.section-title {
    color: #1e3c72;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.section p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.7;
}

.criteria-list {
    list-style: none;
    padding: 0;
}

.criteria-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 35px;
    font-size: 16px;
    color: #4a5568;
}

.criteria-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: 700;
    font-size: 18px;
    width: 25px;
    height: 25px;
    background: #f0fff4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.criteria-list li:last-child {
    border-bottom: none;
}

.support-amounts {
    background: linear-gradient(135deg, #e6fffa 0%, #ffffff 100%);
    border: 2px solid #38b2ac;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}

.support-amounts h3 {
    color: #2c7a7b;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.amount-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.amount-card .rank {
    font-size: 14px;
    color: #718096;
    margin-bottom: 8px;
}

.amount-card .amount {
    font-size: 24px;
    font-weight: 700;
    color: #2c7a7b;
}

.form-section {
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: #2d3748;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 4px rgba(49, 130, 206, 0.1);
    transform: translateY(-1px);
}

input[readonly] {
    background: #f7fafc !important;
    color: #4a5568 !important;
    cursor: not-allowed;
}

textarea[readonly] {
    background: #f7fafc !important;
    color: #4a5568 !important;
    cursor: not-allowed;
}

.date-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.recaptcha-section {
    background: #f7fafc;
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid #e2e8f0;
}

.recaptcha-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.query-button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.query-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 55, 72, 0.25);
}

.query-button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.documents-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    border: 2px solid #3182ce;
}

.documents-title {
    color: #1e3c72;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.documents-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.document-upload-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.document-upload-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #3182ce;
}

.document-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f7fafc;
}

.document-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.document-header h4 {
    color: #1e3c72;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.required-badge {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.file-requirements {
    background: linear-gradient(135deg, #fffbf0 0%, #fef5e7 100%);
    color: #975a16;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #ed8936;
    font-size: 14px;
    font-weight: 500;
}

.file-upload-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 3px dashed #cbd5e0;
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.file-upload-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(49, 130, 206, 0.05), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.file-upload-section:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.file-upload-section:hover {
    border-color: #3182ce;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.15);
}

.file-upload-section.dragover {
    border-color: #3182ce;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    transform: scale(1.02);
}

.file-upload-button {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.file-upload-button:hover {
    background: linear-gradient(135deg, #2c5282 0%, #2a4365 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.25);
}

.file-upload-text {
    color: #718096;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.file-preview {
    display: none;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #48bb78;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.file-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.file-meta {
    display: flex;
    flex-direction: column;
}

.file-name {
    font-weight: 600;
    color: #1a202c;
    font-size: 16px;
    margin-bottom: 4px;
}

.file-size {
    color: #718096;
    font-size: 13px;
}

.file-remove {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-remove:hover {
    background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
    transform: scale(1.05);
}

.file-error {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    color: #c53030;
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    display: none;
    border-left: 4px solid #e53e3e;
    font-size: 14px;
    font-weight: 600;
}

.file-upload-input {
    display: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 40px;
    padding: 25px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    border: 2px solid #e2e8f0;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #3182ce;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    font-weight: 500;
}

.kvkk-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.kvkk-link:hover {
    color: #2c5282;
    text-decoration: underline;
}

.submit-button {
    width: 100%;
    padding: 22px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.25);
}

.submit-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(72, 187, 120, 0.35);
}

.submit-button:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error {
    color: #e53e3e;
    font-size: 14px;
    margin-top: 8px;
    display: none;
    font-weight: 600;
}

.loading {
    display: none;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #e6fffa 0%, #ffffff 100%);
    border-radius: 16px;
    margin: 20px 0;
    border: 2px solid #38b2ac;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #3182ce;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading p {
    margin: 0;
    color: #2d3748;
    font-weight: 600;
}

.error-message {
    display: none;
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    color: #c53030;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #e53e3e;
    font-weight: 600;
}

.footer {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .container {
        margin: 0;
    }

    .content {
        padding: 30px 20px;
    }

    .section {
        padding: 25px 20px;
    }

    .logo-section {
        flex-direction: column;
        gap: 20px;
    }

    .header-text h1 {
        font-size: 28px;
    }

    .date-inputs {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }

    .recaptcha-row {
        flex-direction: column;
    }

    .amount-grid {
        grid-template-columns: 1fr;
    }
}