/* =========================================================
   CÜZDANPLAN — AUTH / GİRİŞ & KAYIT
   ========================================================= */

.cp-auth-page {
    display: flex;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: radial-gradient( circle at 8% 8%, rgba(223, 236, 226, 0.78), transparent 30% ), radial-gradient( circle at 92% 88%, rgba(242, 235, 213, 0.58), transparent 28% ), var(--cp-bg);
}


/* =========================================================
   ANA İKİ PARÇALI YAPI
   ========================================================= */

.cp-auth-shell {
    display: grid;
    width: min(1040px, 100%);
    min-height: 610px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    overflow: hidden;
    border: 1px solid var(--cp-border);
    border-radius: 26px;
    background: var(--cp-surface);
    box-shadow: 0 24px 70px rgba(54, 92, 73, 0.12);
}


/* =========================================================
   ORTAK SOL TANITIM ALANI
   ========================================================= */

.cp-auth-showcase {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 34px 40px;
    overflow: hidden;
    border-right: 1px solid var(--cp-border);
    background: radial-gradient( circle at 15% 15%, rgba(203, 225, 209, 0.72), transparent 34% ), linear-gradient( 145deg, #f8faf5 0%, #eef4eb 52%, #f7f4e9 100% );
}

    .cp-auth-showcase::after {
        position: absolute;
        right: -105px;
        bottom: -120px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(79, 125, 99, 0.08);
        content: "";
        pointer-events: none;
    }


/* =========================================================
   ORTAK SOL LOGO
   ========================================================= */

.cp-auth-showcase-brand,
.cp-auth-register-brand {
    position: relative;
    z-index: 2;
}

.cp-auth-showcase-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cp-text);
    text-decoration: none;
}

    .cp-auth-showcase-logo:hover {
        color: var(--cp-text);
    }

.cp-auth-showcase-mark {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
}

    .cp-auth-showcase-mark svg {
        display: block;
        width: 46px;
        height: 46px;
    }

.cp-auth-showcase-name {
    color: var(--cp-text);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}


/* =========================================================
   GİRİŞ — SOL METİN
   ========================================================= */

.cp-auth-showcase-content {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 390px;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0 4px;
}

.cp-auth-showcase-eyebrow {
    margin: 0 0 12px;
    color: var(--cp-primary);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.cp-auth-showcase-title {
    margin: 0;
    color: var(--cp-text);
    font-size: clamp(1.9rem, 2.7vw, 2.45rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.045em;
}

    .cp-auth-showcase-title span {
        display: block;
        color: var(--cp-primary);
    }

.cp-auth-showcase-text {
    max-width: 370px;
    margin: 16px 0 0;
    color: var(--cp-text-soft);
    font-size: 0.82rem;
    line-height: 1.65;
}


/* =========================================================
   GİRİŞ — SOL FAYDA LİSTESİ
   ========================================================= */

.cp-auth-benefits {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 22px;
}

.cp-auth-benefit {
    display: flex;
    align-items: center;
    gap: 11px;
}

.cp-auth-benefit-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(79, 125, 99, 0.12);
    border-radius: 11px;
    background: rgba(223, 236, 226, 0.82);
    color: var(--cp-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.cp-auth-benefit > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
}

.cp-auth-benefit strong {
    color: var(--cp-text);
    font-size: 0.76rem;
    font-weight: 750;
}

.cp-auth-benefit div span {
    color: var(--cp-text-soft);
    font-size: 0.66rem;
    line-height: 1.4;
}


/* =========================================================
   KAYIT — SOL ALAN
   ========================================================= */

.cp-auth-showcase-register {
    justify-content: flex-start;
    padding: 32px 38px 24px;
}

    .cp-auth-showcase-register::after {
        right: -110px;
        bottom: -135px;
    }


/* =========================================================
   KAYIT — BAŞLIK VE AÇIKLAMA
   ========================================================= */

.cp-auth-register-content {
    position: relative;
    z-index: 2;
    margin-top: 28px;
}

.cp-auth-register-title {
    max-width: 370px;
    margin: 0;
    color: var(--cp-text);
    font-size: clamp(1.95rem, 2.7vw, 2.45rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

    .cp-auth-register-title span {
        display: block;
        color: var(--cp-primary);
    }

.cp-auth-register-text {
    max-width: 360px;
    margin: 16px 0 0;
    color: var(--cp-text-soft);
    font-size: 0.82rem;
    line-height: 1.65;
}

    .cp-auth-register-text strong {
        color: var(--cp-text);
        font-weight: 750;
    }


/* =========================================================
   KAYIT — CÜZDAN İLLÜSTRASYONU
   ========================================================= */

.cp-auth-register-illustration {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 260px;
    margin-top: auto;
    overflow: hidden;
    border-radius: 20px;
}

.cp-auth-register-illustration-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}


/* =========================================================
   SAĞ FORM PANELİ
   ========================================================= */

.cp-auth-form-panel {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    padding: 28px 46px;
    background: rgba(255, 255, 255, 0.9);
}

.cp-auth-form-box {
    width: 100%;
    max-width: 420px;
}


/* =========================================================
   FORM BAŞLIĞI
   ========================================================= */

.cp-auth-header {
    margin-bottom: 18px;
    text-align: center;
}

.cp-auth-title {
    margin: 0 0 7px;
    color: var(--cp-text);
    font-size: clamp(1.5rem, 2.6vw, 1.85rem);
    font-weight: 750;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.cp-auth-subtitle {
    max-width: 380px;
    margin: 0 auto;
    color: var(--cp-text-soft);
    font-size: 0.77rem;
    line-height: 1.55;
}


/* =========================================================
   GOOGLE
   ========================================================= */

.cp-btn-google {
    display: inline-flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid var(--cp-border);
    border-radius: 11px;
    background: #ffffff;
    color: var(--cp-text);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--cp-transition), background-color var(--cp-transition), box-shadow var(--cp-transition), transform var(--cp-transition);
}

    .cp-btn-google:hover {
        border-color: #c7d5ca;
        background: var(--cp-surface-soft);
        color: var(--cp-text);
        box-shadow: var(--cp-shadow-sm);
        transform: translateY(-1px);
    }

.cp-google-mark {
    display: inline-flex;
    width: 21px;
    height: 21px;
    align-items: center;
    justify-content: center;
    margin-right: 9px;
    border: 1px solid var(--cp-border);
    border-radius: 50%;
    background: #ffffff;
    color: #33413a;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.cp-auth-divider {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 10px 0;
    color: var(--cp-text-soft);
    font-size: 0.66rem;
}

    .cp-auth-divider::before,
    .cp-auth-divider::after {
        flex: 1;
        height: 1px;
        background: var(--cp-border);
        content: "";
    }


/* =========================================================
   FORM
   ========================================================= */

.cp-auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .cp-auth-form .cp-form-group {
        margin: 0;
    }

    .cp-auth-form .cp-label {
        display: block;
        margin-bottom: 5px;
        font-size: 0.72rem;
    }

    .cp-auth-form .cp-input {
        min-height: 42px;
        padding-top: 9px;
        padding-bottom: 9px;
        font-size: 0.78rem;
    }

    .cp-auth-form .cp-form-grid {
        gap: 12px;
    }


    /* =========================================================
   CHECKBOX
   ========================================================= */

    .cp-auth-form .cp-checkbox-group {
        margin: 1px 0 0;
    }

    .cp-auth-form .cp-checkbox-label {
        font-size: 0.72rem;
    }


/* =========================================================
   ŞİFRE GÖSTER / GİZLE
   ========================================================= */

.cp-password-field {
    position: relative;
}

    .cp-password-field .cp-input {
        padding-right: 46px;
    }

.cp-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--cp-text-soft);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color var(--cp-transition), background-color var(--cp-transition);
}

    .cp-password-toggle:hover {
        background: var(--cp-surface-soft);
        color: var(--cp-primary-dark);
    }

    .cp-password-toggle:focus-visible {
        outline: 3px solid rgba(79, 125, 99, 0.18);
    }

.cp-password-icon {
    width: 18px;
    height: 18px;
    pointer-events: none;
}


/* =========================================================
   ANA BUTON
   ========================================================= */

.cp-auth-form .cp-btn-block {
    min-height: 42px;
    margin-top: 2px;
    padding: 9px 16px;
    font-size: 0.78rem;
}


/* =========================================================
   ALT BAĞLANTI
   ========================================================= */

.cp-auth-footer {
    margin-top: 13px;
    color: var(--cp-text-soft);
    font-size: 0.73rem;
    text-align: center;
}

    .cp-auth-footer a {
        margin-left: 3px;
        color: var(--cp-primary);
        font-weight: 750;
    }


/* =========================================================
   KAYIT ALT NOTU
   ========================================================= */

.cp-auth-note {
    margin-top: 10px;
    padding: 8px 11px;
    border-radius: var(--cp-radius-sm);
    background: var(--cp-surface-soft);
    color: var(--cp-text-soft);
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
}


/* =========================================================
   VALIDATION / MESAJLAR
   ========================================================= */

.cp-validation-message {
    font-size: 0.67rem;
}

.cp-validation-summary {
    font-size: 0.72rem;
}

.cp-auth-error,
.cp-auth-success {
    margin-bottom: 12px;
    padding: 9px 11px;
    border-radius: var(--cp-radius-sm);
    font-size: 0.74rem;
    line-height: 1.45;
}

.cp-auth-error {
    border: 1px solid #efc9c5;
    background: #fff4f2;
    color: #9f2f26;
}

.cp-auth-success {
    border: 1px solid #cfe3d4;
    background: var(--cp-success-soft);
    color: var(--cp-primary-dark);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .cp-auth-page {
        align-items: flex-start;
        padding: 20px;
    }

    .cp-auth-shell {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .cp-auth-showcase {
        padding: 26px 30px;
        border-right: 0;
        border-bottom: 1px solid var(--cp-border);
    }

    .cp-auth-showcase-content {
        max-width: none;
        padding: 20px 0 0;
    }

    .cp-auth-showcase-title {
        max-width: 600px;
        font-size: 1.85rem;
    }

    .cp-auth-showcase-text {
        max-width: 600px;
        margin-top: 12px;
    }

    .cp-auth-benefits {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
        margin-top: 18px;
    }

    .cp-auth-form-panel {
        padding: 28px 30px 32px;
    }

    .cp-auth-showcase-register {
        padding: 26px 30px;
    }

    .cp-auth-register-content {
        margin-top: 20px;
    }

    .cp-auth-register-title {
        max-width: 600px;
        font-size: 1.9rem;
    }

    .cp-auth-register-text {
        max-width: 600px;
        margin-top: 12px;
    }

    .cp-auth-register-illustration {
        height: 250px;
        margin-top: 22px;
    }
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width: 640px) {

    .cp-auth-page {
        width: 100%;
        min-height: 0;
        height: auto;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 0;
        background: var(--cp-bg);
    }

    .cp-auth-shell {
        width: 100%;
        height: auto;
        min-height: 0;
        align-self: flex-start;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }


    /* -----------------------------------------------------
       ORTAK MOBİL SOL ALAN
       ----------------------------------------------------- */

    .cp-auth-showcase {
        min-height: 0;
        padding: 14px 18px 15px;
        border-right: 0;
        border-bottom: 1px solid var(--cp-border);
    }

        .cp-auth-showcase::after {
            right: -110px;
            bottom: -165px;
            width: 250px;
            height: 250px;
        }

    .cp-auth-showcase-mark {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

        .cp-auth-showcase-mark svg {
            width: 34px;
            height: 34px;
        }

    .cp-auth-showcase-logo {
        gap: 8px;
    }

    .cp-auth-showcase-name {
        font-size: 0.96rem;
    }


    /* -----------------------------------------------------
       MOBİL GİRİŞ TANITIMI
       ----------------------------------------------------- */

    .cp-auth-showcase-content {
        flex: 0 0 auto;
        padding: 12px 0 0;
    }

    .cp-auth-showcase-eyebrow {
        display: none;
    }

    .cp-auth-showcase-title {
        font-size: 1.34rem;
        line-height: 1.1;
    }

    .cp-auth-showcase-text {
        margin-top: 7px;
        font-size: 0.69rem;
        line-height: 1.45;
    }

    .cp-auth-benefits {
        display: none;
    }


    /* -----------------------------------------------------
       MOBİL KAYIT TANITIMI
       ----------------------------------------------------- */

    .cp-auth-showcase-register {
        min-height: 0;
        padding: 13px 18px 14px;
    }

    .cp-auth-register-content {
        margin-top: 11px;
    }

    .cp-auth-register-title {
        max-width: none;
        margin: 0;
        font-size: 1.24rem;
        line-height: 1.08;
    }

        .cp-auth-register-title span {
            display: inline;
        }

    .cp-auth-register-text {
        display: none;
    }

    .cp-auth-register-illustration {
        display: none;
    }


    /* -----------------------------------------------------
       MOBİL FORM PANELİ
       ----------------------------------------------------- */

    .cp-auth-form-panel {
        min-height: 0;
        height: auto;
        align-items: flex-start;
        align-self: flex-start;
        padding: 18px 18px 24px;
    }

    .cp-auth-form-box {
        max-width: none;
    }

    .cp-auth-header {
        margin-bottom: 13px;
    }

    .cp-auth-title {
        margin-bottom: 4px;
        font-size: 1.32rem;
        line-height: 1.18;
    }

    .cp-auth-subtitle {
        max-width: 320px;
        font-size: 0.68rem;
        line-height: 1.42;
    }


    /* -----------------------------------------------------
       MOBİL GOOGLE
       ----------------------------------------------------- */

    .cp-btn-google {
        min-height: 40px;
        padding: 8px 12px;
        border-radius: 10px;
        font-size: 0.74rem;
    }

    .cp-google-mark {
        width: 20px;
        height: 20px;
        margin-right: 8px;
        font-size: 0.68rem;
    }

    .cp-auth-divider {
        gap: 9px;
        margin: 8px 0;
        font-size: 0.62rem;
    }


    /* -----------------------------------------------------
       MOBİL FORM
       ----------------------------------------------------- */

    .cp-auth-form {
        gap: 8px;
    }

        .cp-auth-form .cp-form-grid {
            grid-template-columns: minmax(0, 1fr);
            gap: 8px;
        }

        .cp-auth-form .cp-label {
            margin-bottom: 4px;
            font-size: 0.69rem;
        }

        .cp-auth-form .cp-input {
            min-height: 40px;
            padding-top: 8px;
            padding-bottom: 8px;
            font-size: 0.75rem;
        }

    .cp-password-field .cp-input {
        padding-right: 43px;
    }

    .cp-password-toggle {
        right: 5px;
        width: 32px;
        height: 32px;
    }

    .cp-password-icon {
        width: 17px;
        height: 17px;
    }


    /* -----------------------------------------------------
       MOBİL CHECKBOX
       ----------------------------------------------------- */

    .cp-auth-form .cp-checkbox-group {
        margin-top: 0;
    }

    .cp-auth-form .cp-checkbox-label {
        font-size: 0.68rem;
    }


    /* -----------------------------------------------------
       MOBİL BUTON
       ----------------------------------------------------- */

    .cp-auth-form .cp-btn-block {
        min-height: 40px;
        margin-top: 1px;
        padding: 8px 12px;
        font-size: 0.75rem;
    }


    /* -----------------------------------------------------
       MOBİL ALT ALANLAR
       ----------------------------------------------------- */

    .cp-auth-footer {
        margin-top: 11px;
        font-size: 0.69rem;
    }

    .cp-auth-note {
        margin-top: 8px;
        padding: 7px 10px;
        font-size: 0.64rem;
    }

    .cp-validation-message {
        font-size: 0.63rem;
    }

    .cp-validation-summary {
        font-size: 0.67rem;
    }

    .cp-auth-error,
    .cp-auth-success {
        margin-bottom: 10px;
        padding: 8px 10px;
        font-size: 0.69rem;
    }
}
