﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient( 135deg, #1e293b 0%, #334155 45%, #4f46e5 100% );
    overflow: hidden;
    position: relative;
}

    /* Glow Efektleri */
    body::before,
    body::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        filter: blur(130px);
    }

    body::before {
        width: 420px;
        height: 420px;
        background: #6366f1;
        top: -150px;
        left: -120px;
        opacity: .7;
    }

    body::after {
        width: 420px;
        height: 420px;
        background: #22d3ee;
        right: -150px;
        bottom: -150px;
        opacity: .6;
    }

.container {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Logo Başlık */

header {
    text-align: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.header-logo {
    width: 230px;
    display: block;
    margin: auto;
    margin-bottom: 15px;
}

/* Cam Kart */

.form-outer {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.1);
}

/* Progress */

.progress-bar {
    display: flex;
    justify-content: center;
    gap: 55px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .step p {
        color: #dbeafe;
        font-size: 12px;
        margin-bottom: 10px;
        font-weight: 600;
    }

.bullet {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.25);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: .3s;
}

.step.aktif .bullet {
    border: none;
    background: linear-gradient( 135deg, #06b6d4, #6366f1 );
    box-shadow: 0 0 25px rgba(99,102,241,.6);
}

.check {
    display: none;
}

/* Başlık */

.title {
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
}

    .title i {
        color: #67e8f9;
    }

/* Form Alanları */

.field {
    margin-bottom: 18px;
}

.label {
    color: #e2e8f0;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}

input {
    width: 100%;
    height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
    color: white;
    outline: none;
    padding: 0 18px;
    font-size: 17px;
    transition: .3s;
}

    input::placeholder {
        color: #cbd5e1;
    }

    input:focus {
        border-color: #67e8f9;
        background: rgba(255,255,255,.12);
        box-shadow: 0 0 0 4px rgba(103,232,249,.12);
    }

/* Buton */

.button {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient( 135deg, #06b6d4, #6366f1 );
    transition: .35s;
}

    .button:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(99,102,241,.4);
    }

    .button:active {
        transform: scale(.98);
    }

/* OTP Bilgilendirme */

.otp-bilgi-alan {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    margin-bottom: 20px;
}

    .otp-bilgi-alan i {
        color: #67e8f9;
        font-size: 28px;
        margin-bottom: 10px;
    }

    .otp-bilgi-alan p {
        color: #e2e8f0;
    }

/* OTP */

#txtOtpSifre {
    text-align: center;
    letter-spacing: 10px;
    font-size: 22px;
    font-weight: 700;
}

/* Hata */

.hata-mesaj {
    color: #fca5a5;
    text-align: center;
    font-size: 13px;
    margin-bottom: 15px;
}

/* Sayaç */

.sayac-alan {
    text-align: center;
    margin-top: 20px;
}

.sayac-cerceve {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    padding: 12px 18px;
    border-radius: 14px;
    color: white;
    margin-bottom: 15px;
}

#sayacSure {
    color: #67e8f9;
    font-weight: 700;
}

.yeniden-gonder-btn {
    background: none;
    border: none;
    color: #67e8f9;
    cursor: pointer;
    font-weight: 600;
}

    .yeniden-gonder-btn:hover {
        color: white;
    }

/* Loading */

.yukleniyor-alan {
    text-align: center;
    color: white;
}
.alt-bilgi {
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 20px;
    padding-bottom: 10px;
}
.otp-kutular {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.otp-kutu {
    width: 48px !important;
    height: 58px !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(255,255,255,0.2) !important;
    background: rgba(255,255,255,0.08) !important;
    color: white !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 0 !important;
    letter-spacing: 0 !important;
    transition: all 0.2s !important;
    outline: none !important;
}

    .otp-kutu:focus {
        border-color: #06b6d4 !important;
        background: rgba(6,182,212,0.1) !important;
        box-shadow: 0 0 0 3px rgba(6,182,212,0.15) !important;
        transform: scale(1.05) !important;
    }

    .otp-kutu.dolu {
        border-color: rgba(255,255,255,0.4) !important;
    }
.spinner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,.15);
    border-top: 5px solid #67e8f9;
    margin: auto;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.yukleniyor-alan p {
    font-size: 18px;
    font-weight: 600;
}

.yukleniyor-alan span {
    color: #cbd5e1;
}

/* Mobil */

@media(max-width:576px) {

    .container {
        padding: 15px;
    }

    .form-outer {
        padding: 25px;
    }

    header {
        font-size: 26px;
    }

    .title {
        font-size: 20px;
    }

    .progress-bar {
        gap: 35px;
    }

    .otp-kutu {
        width: 42px !important;
        height: 50px !important;
        font-size: 20px !important;
    }

    .otp-kutular {
        gap: 6px;
    }
}

@media(max-width:380px) {
    .otp-kutu {
        width: 36px !important;
        height: 46px !important;
        font-size: 18px !important;
    }

    .otp-kutular {
        gap: 5px;
    }
}
