﻿.basvuru-section {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    min-height: 100vh;
}

.basvuru-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.basvuru-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    width: 100%;
}

.basvuru-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.basvuru-header p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
}

.basvuru-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    align-items: center;
}


.info-cards {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.info-card:last-child {
    margin-bottom: 0;
}

.info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ff2400;
    fill: none;
    stroke-width: 1.5;
}

.info-card-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.info-card-content p {
    font-size: 1rem;
    color: #18181b;
    line-height: 1.5;
    margin: 0;
}


.form-wrapper {
    flex: 1;
    min-width: 320px;
    position: relative;
}

.form-gradient-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(254,226,226,0.6) 50%, rgba(254,202,202,0.8) 100%);
    border-radius: 8px;
    z-index: 0;
}

.form-card {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.form-card-inner {
    background: white;
    border: 1px dashed #e5e7eb;
    border-radius: 8px;
    padding: 32px;
}

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 24px;
}

.form-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #ff2400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    background: white;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #ff2400;
}

.input-hint {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 4px;
    padding-left: 12px;
}

.form-group input.invalid {
    border-color: #ff2400;
    background-color: #fef2f2;
}

.input-error {
    display: none;
    font-size: 0.75rem;
    color: #ff2400;
    margin-top: 4px;
    padding-left: 12px;
}

.input-error.show {
    display: block;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label:last-child {
    margin-bottom: 0;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: #ff2400;
}

.checkbox-group span a{
    line-height: 0 !important;
}

.checkbox-label span {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

.checkbox-label a {
    color: #ff2400;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #ff2400;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: #18181b;
}

.btn-submit:disabled {
    background: #fca5a5;
    cursor: not-allowed;
}

.btn-secondary {
    padding: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 50%;
}

.btn-secondary:hover {
    border-color: #ff2400;
    color: #ff2400;
}

.btn-primary {
    padding: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    background: #ff2400;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    width: 50%;
}

.btn-primary:hover {
    background: #18181b;
}


.step-content {
    display: block;
}

.step-content.hidden {
    display: none;
}


.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    stroke: #22c55e;
    stroke-width: 2.5;
}

.success-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 8px;
}

.success-text {
    font-size: 0.9375rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
}

.button-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}


.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 36px;
    height: 36px;
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
}

.contact-text {
    font-size: 0.9375rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 8px;
}

.contact-thanks {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ff2400;
    text-align: center;
}


.error-message {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #18181b;
    font-size: 0.875rem;
}

.error-message.hidden {
    display: none;
}


.password-rules {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.rules-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 10px;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-list li {
    font-size: 0.8125rem;
    color: #6b7280;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rules-list li.valid {
    color: #22c55e;
}

.rules-list li.valid .rule-icon {
    color: #22c55e;
}

.rule-icon {
    font-size: 0.75rem;
    color: #9ca3af;
}


.password-strength-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.password-strength-bar {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.password-strength-text {
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 70px;
}


.btn-loading {
    display: none;
}

.btn-loading.active {
    display: inline-block;
}

.btn-text{
    color: #ffffff;
}

.btn-text.hidden {
    display: none;
}

.btn-loading.hidden {
    display: none;
}

@keyframes spin {
     from { transform: rotate(0deg); }
     to { transform: rotate(360deg); }
 }

.animate-spin {
    animation: spin 1s linear infinite;
}


@media (max-width: 900px) {
    .basvuru-content {
        flex-direction: column;
        align-items: center;
    }

    .info-cards {
        max-width: 100%;
        order: 2;
    }

    .form-wrapper {
        max-width: 100%;
        width: 100%;
        order: 1;
    }
}

@media (max-width: 480px) {
    .basvuru-section {
        padding-top: 120px;
    }

    .basvuru-header h2 {
        font-size: 1.75rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-card-inner {
        padding: 24px 20px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-secondary,
    .btn-primary {
        width: 100%;
    }
}


.info-card-icon img{
    max-height: 35px;
}


.pipos-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.pipos-modal-box {
    background-color: #ffffff;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

.dark .pipos-modal-box {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333;
}

.pipos-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark .pipos-modal-header {
    border-bottom-color: #333;
}

.pipos-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.dark .pipos-modal-title {
    color: #fff;
}

.pipos-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
    padding: 0 5px;
}

.pipos-close-btn:hover {
    color: #333;
}

.pipos-modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.dark .pipos-modal-body {
    color: #ccc;
}

.pipos-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
    background-color: #f9f9f9;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.dark .pipos-modal-footer {
    background-color: #222;
    border-top-color: #333;
}

.pipos-btn-ok {
    background-color: #ff2400;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.pipos-btn-ok:hover {
    background-color: #18181b;
}

@keyframes modalFadeIn {
     from { opacity: 0; transform: translateY(-20px); }
     to { opacity: 1; transform: translateY(0); }
 }

.pipos-modal-body ul { list-style-type: disc; margin-left: 20px; margin-bottom: 10px; }
.pipos-modal-body p { margin-bottom: 10px; }
.pipos-modal-body strong { font-weight: 700; color: #333; }
.dark .pipos-modal-body strong { color: #fff; }