/* ==========================================================================
   REGISTER PAGE - ÖZELLEŞTİRİLMİŞ STİL DOSYASI (register-page.css)
   ========================================================================== */

html, body {
    overflow-x: hidden;
}

.register-page {
    min-height: 100vh;
    width: 100%;
    background:
        radial-gradient(circle at top left, rgba(37,99,235,.35), transparent 30%),
        radial-gradient(circle at bottom right, rgba(59,130,246,.25), transparent 35%),
        linear-gradient(rgba(3,7,18,.88), rgba(3,7,18,.92)),
        url('../images/auth-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 35px;
    position: relative;
}

.register-page::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(59,130,246,.18);
    filter: blur(120px);
    top: -150px;
    left: -120px;
    border-radius: 50%;
}

.register-page::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(37,99,235,.15);
    filter: blur(120px);
    bottom: -150px;
    right: -120px;
    border-radius: 50%;
}

.register-box {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.06);
}

.register-box .row {
    width: 100%;
    margin: 0;
    align-items: stretch;
}

.register-box .col-lg-5,
.register-box .col-lg-7 {
    padding: 0;
    display: flex;
}

/* --- SOL MAVİ PANEL --- */
.register-left {
    width: 100%;
    background: linear-gradient(160deg, rgba(13,110,253,.97), rgba(37,99,235,.92));
    color: white;
    padding: 55px 50px;
    height: auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-left::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    top: -100px;
    right: -80px;
}

.register-left::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    bottom: -80px;
    left: -60px;
}

.register-left h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.register-left p {
    opacity: .92;
    font-size: 16px;
    line-height: 1.9;
    max-width: 440px;
    position: relative;
    z-index: 2;
}

/* --- SAĞ BEYAZ PANEL (FORM ALANI) --- */
.register-right {
    width: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
    padding: 45px 50px !important; /* Boşluklar sıkılaştırıldı */
    position: relative;
    flex-direction: column;
	justify-content: center;
}

.register-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.6);
}

.register-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.register-subtitle {
    color: #64748b;
    font-size: 15px;
    margin-bottom: 24px !important; /* Başlık altı boşluk daraltıldı */
}

/* --- FORM ELEMANLARI DÜZENLEMELERİ --- */
.register-right form .row [class*="col-"] {
    margin-bottom: 12px !important; /* Girdilerin dikey aralıkları daraltıldı */
}

.register-form-control {
    height: 54px;
    border-radius: 16px;
    border: 1px solid #dbe3ee;
    background: #f8fafc;
    font-size: 15px;
    font-weight: 500;
    padding-left: 20px;
    transition: .25s;
    box-shadow: none !important;
}

.register-form-control::placeholder {
    color: #94a3b8;
}

.register-form-control:hover {
    border-color: #bfdbfe;
    background: white;
}

.register-form-control:focus {
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 5px rgba(59,130,246,.10) !important;
}

textarea.register-form-control {
    height: 100px; /* Textarea yüksekliği dengelendi */
    padding-top: 15px;
}

select.register-form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

/* --- BUTON VE DİĞER BİLEŞENLER --- */
.register-btn {
    height: 54px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .2px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
    transition: .6s;
}

.register-btn:hover::before {
    left: 100%;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(37,99,235,.35);
}

.register-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

.register-link:hover {
    color: #1d4ed8;
}

.register-info-box {
    margin-top: 55px;
    position: relative;
    z-index: 2;
}

.register-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
    transition: .3s;
}

.register-info-item:hover {
    transform: translateX(6px);
    background: rgba(255,255,255,.12);
}

.register-info-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255,255,255,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 22px;
    flex-shrink: 0;
}

/* --- RESPONSIVE TASARIM DÜZENLEMELERİ --- */
@media(max-width:991px){
    .register-left {
        display: none;
    }

    .register-box {
        min-height: auto !important;
    }

    .register-right {
        padding: 50px 35px 40px 35px !important; /* Aşırı üst boşluk sıfırlandı */
        min-height: auto !important;
        justify-content: flex-start !important;
    }

    .register-title {
        font-size: 30px;
    }
}

@media(max-width:576px){
    .register-page {
        padding: 18px;
    }

    .register-right {
        padding: 40px 20px 30px 20px !important;
        min-height: auto !important;
    }

    .register-right form .row [class*="col-"] {
        margin-bottom: 10px !important;
    }

    .register-form-control {
        height: 50px;
    }

    .register-btn {
        height: 52px;
    }
}
/* ==========================================================================
   3 ADIMLI KAYIT SİHİRBAZI - ADIM GÖSTERGESİ VE HESAP TÜRÜ KARTLARI
   ========================================================================== */

.reg-steps{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.reg-step{
    display: flex;
    align-items: center;
    gap: 10px;
}

.reg-step-circle{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e5e9f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    transition: .25s;
}

.reg-step-label{
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    transition: .25s;
}

.reg-step-line{
    flex: 1;
    height: 1px;
    background: #e2e8f0;
    margin: 0 14px;
}

.reg-step.active .reg-step-circle{
    background: #1d4ed8;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}

.reg-step.active .reg-step-label{
    color: #0f172a;
}

.reg-step.completed .reg-step-circle{
    background: #1d4ed8;
    color: #fff;
}

.reg-step.completed .reg-step-circle::before{
    content: '\2713';
}

.reg-step.completed .reg-step-label{
    color: #475569;
}

@media(max-width:576px){
    .reg-step-label{
        display: none;
    }
    .reg-step-line{
        margin: 0 8px;
    }
}

/* --- HESAP TÜRÜ KARTLARI (Bireysel / Kurumsal) --- */

.account-type-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.account-type-card{
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: .2s;
}

.account-type-card:hover{
    border-color: #93c5fd;
}

.account-type-card.active{
    border-color: #2563eb;
    background: #eff6ff;
}

.account-type-card input[type="radio"]{
    display: none;
}

.account-type-radio-dot{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    position: relative;
    transition: .2s;
}

.account-type-card.active .account-type-radio-dot{
    border-color: #2563eb;
}

.account-type-card.active .account-type-radio-dot::after{
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2563eb;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.account-type-icon{
    font-size: 20px;
    color: #475569;
}

.account-type-card.active .account-type-icon{
    color: #2563eb;
}

.account-type-text{
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.account-type-text strong{
    font-size: 15px;
    color: #0f172a;
}

.account-type-text span{
    font-size: 13px;
    color: #94a3b8;
}

/* --- ADIM PANELLERİ VE NAVİGASYON --- */

.reg-panel{
    animation: regFadeIn .3s ease;
}

@keyframes regFadeIn{
    from{ opacity: 0; transform: translateY(8px); }
    to{ opacity: 1; transform: translateY(0); }
}

.reg-nav{
    margin-top: 18px;
}

.register-btn-outline{
    height: 54px;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    background: #fff;
    color: #475569;
    font-weight: 700;
    font-size: 15px;
    padding: 0 22px;
    transition: .25s;
    white-space: nowrap;
}

.register-btn-outline:hover{
    background: #f8fafc;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

/* ==========================================================================
   BAŞARI OVERLAY (Kayıt sonrası)
   ========================================================================== */

.client-success-overlay{
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,.55);
    backdrop-filter: blur(8px);
    z-index: 99999;
    animation: fadeOverlay .25s ease;
}

.client-success-overlay.active{
    display: flex !important;
}

@keyframes fadeOverlay{
    from{ opacity: 0; }
    to{ opacity: 1; }
}

.client-success-box{
    background: #fff;
    border-radius: 24px;
    padding: 45px 50px;
    text-align: center;
    max-width: 380px;
    box-shadow: 0 25px 60px rgba(0,0,0,.35);
    animation: successPop .35s ease;
}

@keyframes successPop{
    from{ opacity: 0; transform: scale(.9); }
    to{ opacity: 1; transform: scale(1); }
}

.success-check-icon{
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(22,163,74,.35);
}

.client-success-box h3{
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.client-success-box p{
    color: #64748b;
    font-size: 14px;
    margin-bottom: 0;
}

.success-progress{
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.success-progress::after{
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    animation: progressFill 2.2s linear forwards;
}

@keyframes progressFill{
    from{ width: 0%; }
    to{ width: 100%; }
}