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

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
}

.giris-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Sol Taraf - Gradient */
.giris-sol {
    flex: 1;
    background: linear-gradient(135deg, #103595 0%, #1e56bb 50%, #2a6fd8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.giris-sol::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.giris-sol::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
}

.logo-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.logo-container img {
    max-width: 320px;
    filter: brightness(0) invert(1);
}

.sol-slogan {
    color: rgba(255, 255, 255, 0.95);
    font-size: 20px;
    margin-top: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.sol-alt-metin {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

/* Sağ Taraf - Form */
.giris-sag {
    flex: 1;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.form-container {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(16, 53, 149, 0.1);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h2 {
    color: #103595;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    color: #666;
    font-size: 15px;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.form-label .required {
    color: #dc3545;
}

.input-hint {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 8px;
}

/* Telefon Input */
.telefon-input-wrapper {
    display: flex;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.telefon-input-wrapper:focus-within {
    border-color: #103595;
    box-shadow: 0 0 0 4px rgba(16, 53, 149, 0.1);
}

.ulke-kodu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    background: #f8f9fc;
    border-right: 2px solid #e5e7eb;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.ulke-kodu .bayrak {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    object-fit: cover;
}

.telefon-input {
    flex: 1;
    height: 52px;
    border: none;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    background: transparent;
}

.telefon-input:focus {
    outline: none;
}

.telefon-input::placeholder {
    color: #bbb;
    font-weight: 400;
    letter-spacing: 0;
}

/* Standard Form Input */
.input-wrapper {
    position: relative;
}

.input-wrapper svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #999;
    pointer-events: none;
}

.form-input {
    width: 100%;
    height: 52px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 18px 0 48px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus {
    outline: none;
    border-color: #103595;
    box-shadow: 0 0 0 4px rgba(16, 53, 149, 0.1);
}

.form-input::placeholder {
    color: #bbb;
}

/* Doğrulama Kodu Input'ları */
.kod-input-container {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.kod-input {
    width: 56px;
    height: 64px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #103595;
    transition: all 0.3s ease;
}

.kod-input:focus {
    outline: none;
    border-color: #103595;
    box-shadow: 0 0 0 4px rgba(16, 53, 149, 0.1);
}

/* Kod Gönderildi Bilgi Kutusu */
.kod-gonderildi-bilgi {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.bilgi-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #059669;
}

.bilgi-icon svg {
    width: 100%;
    height: 100%;
}

.bilgi-metin strong {
    display: block;
    color: #047857;
    font-size: 14px;
    margin-bottom: 4px;
}

.bilgi-metin p {
    color: #065f46;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

/* Kod Süresi */
.kod-suresi {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.kod-suresi span {
    font-weight: 700;
    color: #103595;
    font-size: 16px;
}

/* Giriş Butonu */
.btn-giris {
    width: 100%;
    height: 54px;
    background: linear-gradient(135deg, #103595 0%, #1e56bb 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-giris:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 53, 149, 0.35);
}

.btn-giris:active {
    transform: translateY(0);
}

.btn-giris:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-giris .btn-icon {
    width: 20px;
    height: 20px;
}

.btn-giris .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-giris.loading .spinner {
    display: inline-block;
}

.btn-giris.loading .btn-icon {
    display: none;
}

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

/* Geri Dön Butonu */
.btn-geri {
    width: 100%;
    height: 48px;
    background: transparent;
    color: #666;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-geri:hover {
    border-color: #103595;
    color: #103595;
    background: rgba(16, 53, 149, 0.05);
}

.btn-geri svg {
    width: 18px;
    height: 18px;
}

/* Tekrar Gönder */
.tekrar-gonder {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.link-btn {
    background: none;
    border: none;
    color: #103595;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    margin-left: 4px;
}

.link-btn:hover:not(:disabled) {
    text-decoration: underline;
}

.link-btn:disabled {
    color: #999;
    cursor: not-allowed;
}

/* Alert Mesajları */
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Destek Link */
.destek-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

.destek-link a {
    color: #103595;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.destek-link a:hover {
    color: #0d2a75;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .giris-container {
        flex-direction: column;
    }

    .giris-sol {
        min-height: 25vh;
        padding: 30px 20px;
    }

    .giris-sag {
        padding: 30px 20px;
    }

    .logo-container img {
        max-width: 200px;
    }

    .sol-slogan {
        font-size: 16px;
        margin-top: 20px;
    }

    .form-container {
        padding: 30px 25px;
    }

    .form-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .giris-sag {
        padding: 20px 15px;
    }

    .form-container {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .ulke-kodu {
        padding: 0 12px;
        font-size: 14px;
    }

    .telefon-input {
        font-size: 15px;
        padding: 0 12px;
    }

    .kod-input-container {
        gap: 8px;
    }

    .kod-input {
        width: 48px;
        height: 56px;
        font-size: 20px;
    }
}
