:root {
    --profile-orange: #ff9700;
    --profile-purple: #a742d1;
    --profile-purple-deep: #67248a;
    --profile-ink: #25192c;
    --profile-gradient: linear-gradient(130deg, #ff9700, #f2810b 38%, #a742d1);
}

body.auth-page {
    background:
        radial-gradient(circle at 8% 15%, rgba(167, 66, 209, 0.11), transparent 28rem),
        radial-gradient(circle at 76% 90%, rgba(255, 151, 0, 0.10), transparent 27rem),
        #f7f4fa;
}

.auth-wrapper {
    min-height: 100svh;
}

.auth-form-panel {
    padding: 80px 42px 48px;
    background:
        radial-gradient(circle at 0% 100%, rgba(167, 66, 209, 0.10), transparent 28rem),
        radial-gradient(circle at 100% 0%, rgba(255, 151, 0, 0.10), transparent 26rem),
        #faf8fb;
}

.profile-select-container {
    max-width: 1050px;
}

.profile-select-brand {
    display: inline-flex;
    width: 190px;
    margin-bottom: 28px;
}

.profile-select-brand img {
    width: 100%;
    height: auto;
}

.profile-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--profile-purple-deep);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.profile-select-container .auth-form-header h2 {
    margin: 0 0 9px;
    color: var(--profile-ink);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.profile-select-container .auth-form-header p {
    color: #7a7080;
    font-size: 0.95rem;
}

.profiles-grid {
    gap: 22px;
    max-width: 940px;
    margin-top: 34px;
}

.profile-card {
    min-height: 385px;
    padding: 48px 34px 38px;
    border: 1px solid rgba(82, 48, 97, 0.10);
    border-radius: 27px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 151, 0, 0.08), transparent 16rem),
        rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 56px rgba(62, 38, 73, 0.10);
}

.profile-card:nth-child(2) {
    background:
        radial-gradient(circle at 100% 0%, rgba(167, 66, 209, 0.10), transparent 16rem),
        rgba(255, 255, 255, 0.96);
}

.profile-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff9700, #f2810b);
}

.profile-card:nth-child(2)::before {
    background: linear-gradient(90deg, #7a2d9c, #b14cd5);
}

.profile-card:hover {
    border-color: rgba(167, 66, 209, 0.22);
    box-shadow: 0 30px 68px rgba(63, 36, 77, 0.17);
    transform: translateY(-7px);
}

.profile-avatar-wrapper {
    width: 98px;
    height: 98px;
    margin-bottom: 30px;
}

.profile-avatar {
    border-radius: 28px;
    font-size: 2.7rem;
}

.profile-name {
    color: #302037;
    font-size: 1.38rem;
    letter-spacing: -0.03em;
}

.profile-desc {
    max-width: 330px;
    margin: 0 auto;
    color: #817786;
    font-size: 0.91rem;
}

.btn-logout {
    top: 24px;
    right: 28px;
    padding: 11px 15px;
    border: 1px solid rgba(83, 50, 98, 0.11);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 9px 24px rgba(58, 35, 68, 0.07);
}

.auth-info-panel {
    isolation: isolate;
    padding: clamp(2.8rem, 4vw, 4.5rem);
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 151, 0, 0.58), transparent 24rem),
        radial-gradient(circle at 6% 92%, rgba(167, 66, 209, 0.62), transparent 27rem),
        linear-gradient(145deg, #1c0f24, #3d164c 54%, #25122e);
}

.auth-info-panel::before,
.auth-info-panel::after {
    animation: none;
}

.auth-brand {
    width: 220px;
    margin-bottom: 46px;
}

.auth-brand img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 12px 25px rgba(14, 4, 19, 0.28));
}

.auth-value-props h1 {
    margin-bottom: 20px;
    font-size: clamp(3rem, 4.6vw, 4.8rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.06em;
}

.auth-value-props p {
    color: rgba(255, 255, 255, 0.74) !important;
    font-size: 0.98rem;
    line-height: 1.72;
}

.auth-features {
    gap: 13px;
}

.auth-feature-item {
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: none;
}

.auth-feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: white;
    background: var(--profile-gradient) !important;
}

.auth-feature-text h3 {
    font-size: 0.91rem;
}

.auth-feature-text p {
    font-size: 0.76rem;
    line-height: 1.55;
}

.profile-panel-watermark {
    position: absolute;
    z-index: 0;
    width: 170px;
    right: 6%;
    bottom: 3%;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(12deg);
}

.verification-modal {
    border: 1px solid rgba(82, 48, 97, 0.11);
    border-radius: 23px;
    box-shadow: 0 30px 74px rgba(34, 20, 41, 0.25);
}

@media (max-width: 1080px) {
    .auth-info-panel {
        display: none;
    }

    .auth-form-panel {
        min-height: 100svh;
    }
}

@media (max-width: 768px) {
    .auth-form-panel {
        padding: 70px 14px 34px;
    }

    .profile-select-container {
        padding: 0;
    }

    .profile-select-brand {
        width: 160px;
        margin-bottom: 22px;
    }

    .profile-select-container .auth-form-header h2 {
        font-size: 2.25rem;
    }

    .profiles-grid {
        gap: 16px;
        margin-top: 25px;
    }

    .profile-card {
        min-height: 0;
        padding: 31px 22px 28px;
        border-radius: 21px;
    }

    .profile-avatar-wrapper {
        width: 82px;
        height: 82px;
        margin-bottom: 22px;
    }

    .profile-avatar {
        border-radius: 23px;
        font-size: 2.2rem;
    }

    .btn-logout {
        top: 14px;
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .profile-card,
    .profile-avatar,
    .profile-avatar-wrapper::before {
        transition: none !important;
        animation: none !important;
    }
}

/* 2026-08-06 — profil seçimini daha net, dengeli ve uygulama diline yakın hale getirir. */
body.auth-page {
    background: #f6f2f8;
}

.auth-form-panel {
    padding: 56px clamp(24px, 4vw, 64px) 42px;
    background: #faf8fb;
}

.profile-select-container {
    width: min(100%, 980px);
    max-width: 980px;
    padding: 0;
}

.profile-select-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: clamp(42px, 7vh, 76px);
}

.profile-select-brand {
    width: 174px;
    margin: 0;
}

.profile-secure-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6d3a7d;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.profile-secure-pill i {
    display: inline-grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 1px solid rgba(126, 48, 160, 0.16);
    border-radius: 10px;
    background: #f1e7f5;
}

.profile-select-heading {
    max-width: 720px;
    margin-bottom: 0;
}

.profile-select-container .auth-form-header h2 {
    max-width: 700px;
    margin: 0 0 13px;
    font-size: clamp(2.25rem, 4vw, 3.65rem);
    line-height: 1.03;
}

.profile-select-container .auth-form-header p {
    max-width: 650px;
    margin: 0;
    color: #776c7d;
    font-size: 0.93rem;
    line-height: 1.72;
}

.profiles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: none;
    margin-top: 31px;
}

.profile-card {
    display: flex;
    min-width: 0;
    min-height: 386px;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid rgba(64, 35, 75, 0.11);
    border-radius: 24px;
    color: inherit;
    font: inherit;
    text-align: left;
    appearance: none;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(48, 27, 57, 0.09);
}

.profile-card::before {
    display: none;
}

.profile-card::after {
    top: auto;
    right: -52px;
    bottom: -62px;
    width: 180px;
    height: 180px;
    border: 34px solid rgba(255, 151, 0, 0.055);
    opacity: 1;
    background: transparent;
}

.profile-card-provider::after {
    border-color: rgba(148, 54, 193, 0.06);
}

.profile-card:hover,
.profile-card:focus-visible {
    border-color: rgba(126, 48, 160, 0.30);
    outline: none;
    box-shadow: 0 29px 67px rgba(55, 29, 66, 0.15);
    transform: translateY(-5px);
}

.profile-card-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    color: #8b7d91;
}

.profile-card-top > i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(71, 42, 81, 0.10);
    border-radius: 12px;
    background: #fbf9fc;
    transition: transform 180ms ease, color 180ms ease;
}

.profile-card:hover .profile-card-top > i {
    color: #742897;
    transform: translate(2px, -2px);
}

.profile-type-badge {
    color: #a04b00;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.profile-card-provider .profile-type-badge {
    color: #7b279e;
}

.profile-avatar-wrapper {
    width: 76px;
    height: 76px;
    margin: 28px 0 21px;
}

.profile-avatar-wrapper::before {
    inset: -8px;
    border: 1px solid rgba(255, 151, 0, 0.18);
    border-radius: 25px;
    opacity: 1;
    background: transparent;
    animation: none;
}

.profile-card-provider .profile-avatar-wrapper::before {
    border-color: rgba(151, 60, 195, 0.20);
}

.profile-avatar {
    border-radius: 21px;
    font-size: 1.75rem;
}

.profile-avatar.customer {
    background: #f58b00;
    box-shadow: 0 13px 28px rgba(245, 139, 0, 0.24);
}

.profile-avatar.provider {
    background: #8535ac;
    box-shadow: 0 13px 28px rgba(133, 53, 172, 0.24);
}

.profile-card:hover .profile-avatar {
    transform: scale(1.04);
}

.profile-name,
.profile-desc,
.profile-benefits,
.profile-card-cta,
.profile-card-top {
    position: relative;
    z-index: 1;
}

.profile-name {
    margin-bottom: 8px;
    color: #2c1d32;
    font-size: 1.45rem;
}

.profile-desc {
    max-width: 350px;
    min-height: 67px;
    margin: 0;
    padding: 0;
    color: #7d7282;
    font-size: 0.82rem;
    line-height: 1.62;
}

.profile-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 13px;
    margin-top: 17px;
    color: #584c5d;
    font-size: 0.7rem;
    font-weight: 600;
}

.profile-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.profile-benefits i {
    color: #ec8500;
    font-size: 0.6rem;
}

.profile-card-provider .profile-benefits i {
    color: #8b35b1;
}

.profile-card-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(65, 35, 76, 0.09);
    color: #3c2d42;
    font-size: 0.78rem;
    font-weight: 750;
}

.profile-card-customer .profile-card-cta i {
    color: #e67c00;
}

.profile-card-provider .profile-card-cta i {
    color: #7b279e;
}

.btn-logout {
    top: 22px;
    right: 24px;
    padding: 10px;
    border-radius: 12px;
    color: #6d6172;
    font-size: 0;
}

.btn-logout i {
    font-size: 0.92rem;
}

.auth-info-panel {
    padding: clamp(2.7rem, 4vw, 4.8rem);
    background: #2a1234;
}

.auth-info-panel::before {
    top: -115px;
    right: -115px;
    left: auto;
    width: 310px;
    height: 310px;
    border: 62px solid rgba(255, 151, 0, 0.12);
    border-radius: 50%;
    filter: none;
    background: transparent;
}

.auth-info-panel::after {
    right: auto;
    bottom: -150px;
    left: -145px;
    width: 360px;
    height: 360px;
    border: 70px solid rgba(167, 66, 209, 0.13);
    border-radius: 50%;
    filter: none;
    background: transparent;
}

.info-panel-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: #ffb454;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.auth-value-props h1 {
    max-width: 560px;
    font-size: clamp(2.75rem, 4vw, 4.25rem);
    line-height: 1.03;
}

.auth-features {
    gap: 10px;
}

.auth-feature-item {
    padding: 14px;
    border-color: rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
}

.auth-feature-icon {
    background: #8b35b1 !important;
}

.auth-feature-item:nth-child(2) .auth-feature-icon {
    background: #e48300 !important;
}

@media (max-width: 1080px) {
    .auth-form-panel {
        padding-top: 42px;
    }

    .profile-select-topbar {
        margin-bottom: 38px;
    }
}

@media (max-width: 700px) {
    .auth-form-panel {
        justify-content: flex-start !important;
        padding: 24px 15px 32px;
    }

    .profile-select-topbar {
        margin-bottom: 37px;
        padding-right: 42px;
    }

    .profile-select-brand {
        width: 143px;
    }

    .profile-secure-pill {
        font-size: 0;
    }

    .profile-secure-pill i {
        font-size: 0.76rem;
    }

    .profile-select-container .auth-form-header h2 {
        font-size: 2.15rem;
    }

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

    .profile-card {
        min-height: 344px;
        padding: 22px;
    }

    .profile-desc {
        min-height: 0;
    }

    .profile-avatar-wrapper {
        margin-top: 22px;
    }

    .btn-logout {
        top: 14px;
        right: 14px;
    }
}
