
:root {
    --bg: #f5f9f0;
    --green: #8bc34a;
    --text: #1d1b20;
    --muted: #6b7280;
    --outline: #79747e;
    --success-blob-a: rgba(216, 239, 189, 0.92);
    --success-blob-b: rgba(233, 246, 217, 0.86);
    --success-blob-c: rgba(198, 230, 159, 0.58);
    --card-shadow: 0 1px 1px rgba(0, 0, 0, 0.3), 0 2px 3px rgba(0, 0, 0, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg);
    color: var(--text);
    font-family: "SB Sans Display", "Segoe UI", Arial, sans-serif;
}

.page {
    position: relative;
    min-height: 100vh;
    padding: 46px 24px 32px;
    overflow-x: hidden;
}

.auth-page {
    height: 100vh;
    overflow: hidden;
}

.page-registration {
    padding-top: 46px;
}

.blob {
    position: absolute;
    pointer-events: none;
    filter: blur(46px);
    opacity: 0.46;
    transform: rotate(-14deg);
}

.blob-top-right {
    top: -82px;
    right: -119px;
    width: 520px;
    height: 520px;
    border-radius: 55% 45% 52% 48%;
    background: #cfe9b6;
}

.blob-bottom-left {
    bottom: -140px;
    left: -139px;
    width: 420px;
    height: 420px;
    border-radius: 46% 54% 48% 52%;
    background: #d9edca;
}

.blob-mid-left {
    top: 360px;
    left: -91px;
    width: 280px;
    height: 280px;
    border-radius: 55% 45% 42% 58%;
    background: #e4f2d6;
    opacity: 0.7;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: min(466px, 100%);
    margin: 0 auto;
    padding: 40px;
    transform: translateX(9px);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--card-shadow);
}

.auth-card.registration-card {
    width: min(466px, 100%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: var(--green);
    color: #ffffff;
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    margin: 0 0 16px;
    text-align: center;
    font-size: 57px;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: 0;
}

.fields {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.registration-fields {
    gap: 16px;
}

.field {
    width: 100%;
    height: 56px;
    border: 1px solid var(--outline);
    border-radius: 4px;
    padding: 15px 16px;
    background: #ffffff;
    color: var(--text);
    font: 400 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.5px;
    outline: none;
}

.field::placeholder {
    color: var(--text);
    opacity: 1;
}

.field:focus {
    border-color: #2d2d2d;
    box-shadow: inset 0 0 0 1px #2d2d2d;
}

.select-menu {
    position: relative;
    display: block;
    margin-bottom: 24px;
    padding-top: 8px;
}

.select-menu-label {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 8px;
    padding: 0 4px;
    background: #ffffff;
    color: #2d2d2d;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.4px;
}

.select-field {
    appearance: none;
    border: 2px solid #2d2d2d;
    padding-right: 44px;
    font-weight: 600;
    background-image:
        linear-gradient(45deg, transparent 50%, #1d1b20 50%),
        linear-gradient(135deg, #1d1b20 50%, transparent 50%);
    background-position:
        calc(100% - 22px) 25px,
        calc(100% - 16px) 25px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.select-field:focus {
    border-color: #2d2d2d;
    box-shadow: none;
}

.role-select {
    margin-bottom: 24px;
}

.login-button {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: var(--green);
    color: #ffffff;
    cursor: pointer;
    font: 600 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.15px;
}

.registration-card .login-button {
    min-height: 56px;
    border-radius: 16px;
}

.login-button:hover {
    background: #82ba43;
}

.login-button:focus-visible {
    outline: 3px solid rgba(139, 195, 74, 0.35);
    outline-offset: 3px;
}

.icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.success-page {
    position: relative;
    display: grid;
    min-height: 100vh;
    padding: 56px 24px;
    overflow: hidden;
    place-items: center;
    isolation: isolate;
}

.success-blob {
    position: absolute;
    z-index: -1;
    width: min(48vw, 686px);
    min-width: 360px;
    aspect-ratio: 686 / 695;
    pointer-events: none;
    background:
        radial-gradient(circle at 38% 36%, var(--success-blob-a) 0 24%, transparent 25%),
        radial-gradient(circle at 58% 28%, var(--success-blob-b) 0 31%, transparent 32%),
        radial-gradient(circle at 63% 60%, var(--success-blob-c) 0 27%, transparent 28%),
        radial-gradient(circle at 30% 68%, rgba(228, 244, 209, 0.78) 0 26%, transparent 27%);
    filter: blur(2px);
    opacity: 0.95;
    transform: rotate(var(--rotation, 0deg));
}

.success-blob--top-left {
    top: -100px;
    left: -150px;
    --rotation: -18deg;
}

.success-blob--top-right {
    top: -50px;
    right: -100px;
    --rotation: 142deg;
}

.success-blob--bottom-left {
    bottom: -150px;
    left: -200px;
    --rotation: 24deg;
}

.success-blob--bottom-right {
    right: -250px;
    bottom: -200px;
    --rotation: 204deg;
}

.success-content {
    display: flex;
    width: min(100%, 600px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
}

.success-icon {
    display: grid;
    width: 120px;
    height: 120px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 12px 12px rgba(160, 231, 32, 0.25);
    place-items: center;
}

.success-icon svg {
    width: 56px;
    height: 56px;
    color: #ffffff;
}

.success-text {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.success-title {
    margin: 0;
    width: 100%;
    font-size: 56px;
    font-weight: 600;
    line-height: normal;
    overflow-wrap: break-word;
}

.success-description {
    margin: 0;
    width: 100%;
    color: var(--muted);
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}

.orders-page {
    position: relative;
    min-height: 100vh;
    padding-bottom: 83px;
    overflow: hidden;
    background: var(--bg);
}

.orders-header {
    position: relative;
    min-height: 329px;
    padding: 28px 52px 0;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: #fcfff6;
}
.orders-header-section{
    width: min(100% - 48px, 1196px);
    margin: 0 auto 0;
}

.orders-header::after {
    content: "";
    position: absolute;
    right: -176px;
    bottom: -136px;
    width: 686px;
    height: 695px;
    border-radius: 48% 52% 45% 55%;
    background:
        radial-gradient(circle at 35% 30%, rgba(214, 237, 184, 0.8) 0 24%, transparent 25%),
        radial-gradient(circle at 57% 37%, rgba(233, 246, 217, 0.72) 0 30%, transparent 31%),
        radial-gradient(circle at 62% 65%, rgba(198, 230, 159, 0.42) 0 28%, transparent 29%);
    opacity: 0.6;
    pointer-events: none;
}

.orders-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 900px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-top: 80px;
    padding-bottom: 36px;
}

.header-end {
    margin: 0;
}
.orders-logo {
    width: 40px;
    height: 40px;
}

.orders-title {
    margin: 0;
    text-align: left;
    font-size: 56px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.orders-subtitle {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.segmented-nav {

    display: flex;
    width: 590px;
    height: 48px;
    align-items: center;
}

.segmented-nav-item {
    display: flex;
    height: 40px;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: -1px;
    border: 1px solid var(--outline);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.1px;
}

.segmented-nav-item:first-child {
    border-radius: 100px 0 0 100px;
}

.segmented-nav-item:last-child {
    margin-right: 0;
    border-radius: 0 100px 100px 0;
}

.segmented-nav-item-active {
    border-color: var(--green);
    background: var(--green);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.segmented-nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.orders-menu-button {
    display: none;
}

.orders-header-section-nav{
    display: flex;
    justify-content: space-between;
}

.logout-button {

    display: inline-flex;
    width: 111px;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #000000;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
}

.logout-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}

.orders-toolbar {
    position: relative;
    z-index: 10;
    width: min(100% - 48px, 1196px);
    margin: 61px auto 0;
}

.orders-search {
    display: flex;
    width: 388px;
    height: 56px;
    align-items: center;
    gap: 4px;
    border: 0;
    border-radius: 28px;
    padding: 5px 4px;
    background: #e1f8b6;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: var(--text);
    cursor: pointer;
    font: 600 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.5px;
}

.orders-search-icon,
.orders-search-chevron {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    padding: 12px;
}

.orders-search span {
    flex: 1 1 auto;
    text-align: left;
}

.orders-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 5;
    width: 388px;
    margin: 0;
    padding: 8px;
    border: 1px solid #d9e4d0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(29, 27, 32, 0.14);
    list-style: none;
}

.orders-filter-menu[hidden] {
    display: none;
}

.orders-filter-menu button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    padding: 10px 16px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.orders-filter-menu button:hover,
.orders-filter-menu button:focus-visible {
    background: #e1f8b6;
    outline: none;
}

.orders-grid {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(100% - 48px, 1238px);
    grid-template-columns: repeat(3, 360px);
    gap: 37px 58px;
    justify-content: center;
    margin: 61px auto 0;
}

.lead-card {
    display: flex;
    height: 252px;
    flex-direction: column;
    align-items: flex-start;
    border-left: 4px solid var(--green);
    border-radius: 12px;
    padding: 12px 16px 16px;
    background: #ffffff;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.lead-card-header {
    display: flex;
    width: 100%;
    height: 72px;
    flex: 0 0 auto;
    align-items: center;
    gap: 16px;
}

.lead-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #a0e720, var(--green));
    color: #ffffff;
    place-items: center;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.15px;
}

.lead-author {
    min-width: 0;
}

.lead-author h2,
.lead-author p,
.lead-card-body h3,
.lead-card-body p {
    margin: 0;
    overflow-wrap: break-word;
}

.lead-author h2 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

.lead-author p {
    margin-top: 4px;
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.25px;
}

.lead-card-body {
    display: flex;
    width: 100%;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
}

.lead-card-body h3 {
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.lead-card-body p {
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.25px;
}

.lead-card-actions {
    display: flex;
    width: 100%;
    height: 89px;
    flex: 0 0 auto;
    align-items: flex-end;
    justify-content: center;
}

.lead-action,
.orders-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background: var(--green);
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    font: 400 14px/20px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.1px;
}

.lead-action {
    border: 1px solid var(--green);
    font-weight: 500;
    min-height: 40px;
    padding: 9px 16px;
}

.orders-more {
    position: relative;
    z-index: 1;
    left: 50%;
    width: 231px;
    height: 61px;
    margin: 191px 0 0;
    border: 0;
    padding: 10px 16px;
    overflow: hidden;
    transform: translateX(-50%);
}

.orders-blob {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.45;
    filter: blur(46px);
}

.orders-blob-bottom-left {
    bottom: -97px;
    left: 47px;
    width: 420px;
    height: 420px;
    border-radius: 46% 54% 48% 52%;
    background: #d9edca;
}

.orders-blob-top-right {
    right: -157px;
    bottom: -147px;
    width: 520px;
    height: 520px;
    border-radius: 55% 45% 52% 48%;
    background: #cfe9b6;
}

.orders-blob-bottom-right {
    right: -412px;
    top: 212px;
    width: 686px;
    height: 695px;
    border-radius: 48% 52% 45% 55%;
    background: #d8efbd;
}

body.modal-open {
    overflow: hidden;
}

.lead-modal {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.lead-modal[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.lead-modal-card {
    display: flex;
    width: min(710px, 100%);
    max-height: calc(100vh - 64px);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    border-radius: 24px;
    padding: 32px;
    overflow: auto;
    background: #fcfff6;
    box-shadow:
        0 16px 40px -12px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.lead-modal-header {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 12px;
}

.lead-modal-heading {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.lead-modal-accent {
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: #a0e720;
}

.lead-modal-heading h2 {
    width: 100%;
    margin: 0;
    color: var(--text);
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: -0.25px;
    overflow-wrap: break-word;
}

.lead-modal-close {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.lead-modal-close svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lead-modal-form {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 20px;
}

.lead-modal-field {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
}

.lead-modal-field > span:first-child {
    color: #49454f;
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
}

.lead-modal-control {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--outline);
    border-radius: 8px;
    padding: 0 16px;
    background: #ffffff;
    color: #49454f;
}

.lead-modal-control svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.lead-modal-control input,
.lead-modal-control textarea {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #49454f;
    font: 400 16px/20px "SB Sans Display", "Segoe UI", Arial, sans-serif;
}

.lead-modal-control input::placeholder,
.lead-modal-control textarea::placeholder {
    color: #49454f;
    opacity: 1;
}

.lead-modal-textarea {
    position: relative;
    height: 166px;
    align-items: flex-start;
    padding: 16px;
    overflow: hidden;
}

.lead-modal-textarea textarea {
    height: 100%;
    resize: none;
}

.lead-modal-textarea::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: rgba(121, 116, 126, 0.2);
}

.lead-modal-submit {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    background: var(--green);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.07);
    color: #ffffff;
    cursor: pointer;
    font: 600 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.15px;
}

.lead-modal-submit svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.rating-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg);
}

.rating-blob,
.rating-vector {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.rating-blob {
    width: 621px;
    height: 577px;
    border-radius: 48% 52% 45% 55%;
    background:
        radial-gradient(circle at 35% 30%, rgba(216, 239, 189, 0.92) 0 24%, transparent 25%),
        radial-gradient(circle at 57% 37%, rgba(233, 246, 217, 0.86) 0 30%, transparent 31%),
        radial-gradient(circle at 62% 65%, rgba(198, 230, 159, 0.58) 0 28%, transparent 29%);
    opacity: 0.6;
}

.rating-blob-top {
    top: -40px;
    right: -270px;
}

.rating-blob-bottom {
    top: 1364px;
    right: 449px;
}

.rating-vector {
    top: 76px;
    left: -296px;
    width: 520px;
    height: 520px;
    border-radius: 55% 45% 52% 48%;
    background: #d8efbd;
    filter: blur(46px);
    opacity: 0.45;
}

.rating-hero,
.rating-podium,
.profile-stats,
.leaderboard {
    position: relative;
    z-index: 1;
}

.rating-hero {
    width: min(768px, 100%);
}

.rating-title,
.rating-subtitle,
.podium-person h2,
.podium-person p,
.profile-text p,
.profile-stat h3,
.profile-stat p,
.leaderboard h2,
.leaderboard-card h3,
.leaderboard-card p,
.leaderboard-card strong {
    margin: 0;
}

.rating-title {
    color: #000000;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
}

.rating-subtitle {
    margin-top: 24px;
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.rating-podium {
    display: flex;
    width: min(100%, 1312px);
    height: 403px;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    margin: 94px auto 0;
}

.podium-place {
    display: flex;
    width: 200px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.podium-bar {
    display: flex;
    width: 80px;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    color: #ffffff;
}

.podium-place-first .podium-bar {
    height: 240px;
    background: #ffd700;
}

.podium-place-second .podium-bar {
    height: 180px;
    background: #c0c0c0;
}

.podium-place-third .podium-bar {
    height: 130px;
    background: #cd7f32;
}

.podium-bar span {
    font-size: 32px;
    font-weight: 600;
    line-height: normal;
}

.podium-crown {
    position: relative;
    width: 32px;
    height: 32px;
}

.podium-crown::before {
    content: "";
    position: absolute;
    inset: 5px 3px 4px;
    background: #ffd700;
    clip-path: polygon(0 35%, 22% 60%, 50% 0, 78% 60%, 100% 35%, 88% 100%, 12% 100%);
}

.rating-avatar {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 50%;
    background:     var(--green);
    color: #ffffff;
    place-items: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.15px;
}
.rating-avatar-silver {
    background: #c0c0c0;
    color: var(--text);
}
.rating-avatar-bronze {
    background: #cd7f32;
    color: var(--text);

}
.rating-avatar-gold{
    background: #ffd700;
}

.podium-person,
.leaderboard-person > div {

    flex-direction: column;
    gap: 4px;
}

.podium-person {
    width: 216px;
}

.podium-person h2,
.leaderboard-card h3 {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

.podium-person p,
.leaderboard-card p {
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.25px;
}

.profile-stats {
    display: flex;
    width: min(100%, 1312px);
    flex-direction: column;
    gap: 24px;
    margin: 96px auto 0;
    border-radius: 16px;
    padding: 32px;
    background: #ffffff;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.08);
}

.profile-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.profile-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-status {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-status span {
    width: 106px;
    color: #49454f;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.profile-status strong {
    display: flex;
    width: 208px;
    height: 31px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
}

.profile-text p {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.25px;
}

.profile-link {
    color: var(--green);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.link{
    color: var(--green);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.profile-stat {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    border-radius: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
}

.profile-stat h3 {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.25px;
}

.profile-stat p {
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.leaderboard {
    width: min(100%, 1312px);
    margin: 24px auto 0;
}

.leaderboard > h2 {
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.leaderboard-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.leaderboard-person {
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.leaderboard-person > div {
    min-width: 0;
}

.leaderboard-card h3,
.leaderboard-card p {
    width: 100%;
    overflow-wrap: break-word;
}

.leaderboard-card strong {
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.leads-page {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    padding: 0 64px 112px;
    overflow: hidden;
    background: var(--bg);
}

.leads-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.leads-tabs {
    display: flex;
    height: 48px;
    align-items: center;
}

.leads-tab {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: -1px;
    border: 1px solid #cac4d0;
    padding: 10px 12px;
    background: #ffffff;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    font: 500 14px/20px "Roboto", "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.leads-tab-start {
    width: 108px;
    border-radius: 100px 0 0 100px;
}

.leads-tab:not(.leads-tab-start):not(.leads-tab-end) {
    width: 108px;
}

.leads-tab-end {
    width: 152px;
    margin-right: 0;
    border-radius: 0 100px 100px 0;
}

.leads-tab-active {
    border-color: #a0e720;
    background: var(--green);
    color: #ffffff;
}

.leads-tab svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.leads-logout {
    display: inline-flex;
    width: 111px;
    height: 46px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #000000;
    border-radius: 16px;
    overflow: hidden;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.leads-logout svg {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
}

.leads-header {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.leads-header h1,
.leads-header p,
.my-lead-card h2,
.my-lead-card p,
.lead-date span {
    margin: 0;
}

.leads-header h1 {
    color: var(--text);
    font-size: 56px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.leads-header p {
    width: 100%;
    color: #49454f;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.leads-header-shape {
    position: absolute;
    z-index: -1;
    top: -50px;
    right: -100px;
    width: 621px;
    height: 577px;
    border-radius: 48% 52% 45% 55%;
    background:
        radial-gradient(circle at 35% 30%, rgba(216, 239, 189, 0.92) 0 24%, transparent 25%),
        radial-gradient(circle at 57% 37%, rgba(233, 246, 217, 0.86) 0 30%, transparent 31%),
        radial-gradient(circle at 62% 65%, rgba(198, 230, 159, 0.58) 0 28%, transparent 29%);
    pointer-events: none;
}

.leads-grid {
    position: relative;
    z-index: 1;
    display: grid;
    width:   min(100% - 48px, 1238px);;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    margin: 61px auto 0;
}

.my-lead-card {
    display: flex;
    min-height: 173px;
    flex-direction: column;
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.08);
    align-items: flex-start;
    gap: 16px;
}

.lead-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 100px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.lead-status svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.lead-status-approved {
    background: #e1f8b6;
    color: var(--text);
}

.lead-status-rejected {
    background: #fce8e8;
    color: #ef4444;
}

.my-lead-card h2 {
    width: 100%;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.my-lead-card p {
    width: 100%;
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
}

.lead-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #49454f;
}

.lead-date span {
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.lead-date svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: var(--text);
}

.lead-date-rejected svg {
    color: #ef4444;
}

.place-order-page {
    position: relative;
    min-height: 100vh;
    padding: 96px 64px 96px;
    overflow: hidden;
    background: var(--bg);
}

.place-order-nav {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: 96px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #a0e720;
    padding: 24px 64px;
    background: var(--bg);
}

.place-order-tabs {
    display: flex;
    height: 48px;
    align-items: center;
}

.place-order-tab {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: -1px;
    border: 1px solid var(--outline);
    padding: 10px 12px;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    font: 500 14px/20px "Roboto", "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.place-order-tab-start {
    width: 212px;
    border-radius: 100px 0 0 100px;
}

.place-order-tab-middle {
    width: 140px;
}

.place-order-tab-active {
    border-color: var(--green);
    background: var(--green);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.place-order-tab svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.place-order-logout {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #a0e720;
    border-radius: 20px;
    padding: 10px 16px;
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.place-order-logout svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.place-order-hero {
    position: relative;
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 -64px;
    padding: 40px 64px;
    text-align: center;
}

.place-order-hero h1,
.place-order-hero p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.place-order-hero h1 {
    color: var(--text);
    text-align: center;
    font-size: 56px;
    font-weight: 600;
    line-height: normal;
}

.place-order-hero p {
    width: min(760px, 100%);
    color: #49454f;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.place-order-blob {
    position: absolute;
    top: -77px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    background: #a0e720;
    opacity: 0.15;
    pointer-events: none;
}

.place-order-card {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(600px, 100%);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin: 44px auto 0;
    border-radius: 24px;
    padding: 32px;
    background: #ffffff;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.08);
}

.place-order-field {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 8px;
}

.place-order-field > span:first-child {
    width: 100%;
    color: #49454f;
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
}

.place-order-control,
.place-order-select-wrap {
    display: flex;
    width: 100%;
    align-items: center;
    border: 1px solid var(--outline);
    border-radius: 8px;
    background: #ffffff;
    color: #49454f;
}

.place-order-control {
    height: 56px;
    gap: 12px;
    padding: 0 16px;
}

.place-order-control svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.place-order-control input,
.place-order-control textarea,
.place-order-select-wrap select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #49454f;
    font: 400 16px/20px "SB Sans Display", "Segoe UI", Arial, sans-serif;
}

.place-order-control input::placeholder,
.place-order-control textarea::placeholder {
    color: #49454f;
    opacity: 1;
}

.place-order-textarea {
    position: relative;
    height: 166px;
    align-items: flex-start;
    overflow: hidden;
    padding: 16px;
}

.place-order-textarea textarea {
    height: 100%;
    resize: none;
}

.place-order-textarea::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: rgba(121, 116, 126, 0.2);
}

.place-order-select-wrap {
    height: 56px;
    gap: 16px;
    padding: 12px;
}

.place-order-select-wrap select {
    height: 100%;
    appearance: none;
    cursor: pointer;
}

.place-order-select-wrap svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    pointer-events: none;
}

.place-order-spacer {
    display: block;
    width: 100%;
    height: 15px;
}

.place-order-submit {
    display: flex;
    width: 100%;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    background: var(--green);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.07);
    color: #ffffff;
    cursor: pointer;
    font: 400 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
}

.place-order-submit svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.order-detail-page {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    gap: 80px;
    overflow-x: hidden;
    background: var(--bg);
}

.order-detail-header {
    position: relative;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    background: var(--bg);
}

.order-detail-nav {
    display: flex;
    width: calc(100% + 128px);
    height: 96px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--green);
    margin-left: -64px;
    padding: 24px 64px;
    background: var(--bg);
}

.order-detail-tabs {
    display: flex;
    height: 48px;
    align-items: center;
}

.order-detail-tab {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: -1px;
    border: 1px solid var(--outline);
    padding: 10px 12px;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    font: 500 14px/20px "Roboto", "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.order-detail-tab-start {
    width: 212px;
    border-radius: 100px 0 0 100px;
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.order-detail-tab-active {
    width: 140px;
    margin-right: 0;
    border-color: var(--green);
    background: var(--green);
    color: #ffffff;
}

.order-detail-tab svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.order-detail-logout {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--text);
    border-radius: 20px;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.order-detail-logout svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.order-detail-header-body {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
}

.order-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.order-detail-breadcrumb a,
.order-detail-breadcrumb span {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.order-detail-breadcrumb svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.order-detail-summary {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 48px;
}

.order-detail-main {
    display: flex;
    width: min(699px, 100%);
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.order-detail-chips,
.order-detail-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.order-detail-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.order-detail-chip-green {
    background: var(--green);
    color: #ffffff;
}

.order-detail-chip-red {
    background: #fce8e6;
    color: #b42318;
}

.order-detail-main h1,
.order-detail-main p,
.order-lead-note h2,
.order-lead-note p,
.order-lead-info-heading h3,
.order-lead-info-item p {
    margin: 0;
}

.order-detail-main h1 {
    width: 100%;
    color: var(--text);
    text-align: left;
    font-size: 56px;
    font-weight: 600;
    line-height: normal;
}

.order-detail-main p {
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.order-detail-close {
    display: inline-flex;
    width: 414px;
    height: 56px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-end;
    border: 0;
    border-radius: 16px;
    background: #ef4444;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.07);
    color: #ffffff;
    cursor: pointer;
    font: 400 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
}

.order-detail-close svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.close-order-modal {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(29, 27, 32, 0.32);
    transition: opacity 160ms ease, visibility 160ms ease;
}

.close-order-modal[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.close-order-modal-card {
    position: relative;
    width: min(560px, 100%);
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(29, 27, 32, 0.18);
}

.close-order-modal-accent {
    width: 100%;
    height: 4px;
    background: #f73d46;
}

.close-order-modal-header {
    display: flex;
    min-height: 136px;
    align-items: flex-start;
    gap: 12px;
    padding: 32px 32px 24px;
}

.close-order-modal-heading {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
}

.close-order-modal-heading h2,
.close-order-modal-heading p {
    margin: 0;
    text-align: center;
}

.close-order-modal-heading h2 {
    color: var(--text);
    font-size: 48px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0;
}

.close-order-modal-heading p {
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.close-order-modal-x {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.close-order-modal-x svg {
    width: 24px;
    height: 24px;
}

.close-order-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 236px));
    gap: 24px;
    padding: 11px 32px 32px;
}

.close-order-modal-button {
    display: inline-flex;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    font: 600 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    cursor: pointer;
}

.close-order-modal-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.close-order-modal-keep {
    background: var(--green);
}

.close-order-modal-confirm {
    background: #f73d46;
}

.reject-lead-modal {
    position: fixed;
    z-index: 80;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(29, 27, 32, 0.32);
    transition: opacity 160ms ease, visibility 160ms ease;
}

.reject-lead-modal[aria-hidden="true"] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.reject-lead-modal-card {
    width: min(560px, 100%);
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(29, 27, 32, 0.18);
}

.reject-lead-modal-accent {
    width: 100%;
    height: 4px;
    background: #f73d46;
}

.reject-lead-modal-header {
    display: flex;
    min-height: 136px;
    align-items: flex-start;
    gap: 12px;
    padding: 32px 32px 24px;
}

.reject-lead-modal-heading {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
}

.reject-lead-modal-heading h2,
.reject-lead-modal-heading p {
    margin: 0;
    text-align: center;
}

.reject-lead-modal-heading h2 {
    color: var(--text);
    font-size: 48px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: 0;
}

.reject-lead-modal-heading p {
    color: #49454f;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.reject-lead-modal-x {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    place-items: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.reject-lead-modal-x svg {
    width: 24px;
    height: 24px;
}

.reject-lead-modal-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 32px 32px;
}

.reject-lead-modal-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reject-lead-modal-field > span:first-child {
    color: #49454f;
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
}

.reject-lead-modal-control {
    position: relative;
    display: flex;
    height: 150px;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--outline);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
}

.reject-lead-modal-control svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #79747e;
}

.reject-lead-modal-control textarea {
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #49454f;
    font: 600 16px/20px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    resize: none;
}

.reject-lead-modal-control textarea::placeholder {
    color: #49454f;
    opacity: 1;
}

.reject-lead-modal-control::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: rgba(121, 116, 126, 0.2);
}

.reject-lead-modal-submit {
    display: inline-flex;
    width: 100%;
    height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 16px;
    background: #f73d46;
    color: #ffffff;
    font: 600 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    cursor: pointer;
}

.reject-lead-modal-submit-approve {
    background: var(--green);
}

.reject-lead-modal-submit svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.order-detail-content {
    display: flex;
    width: min(100% - 48px, 1196px);
    margin: 0 auto 0;

    flex-direction: column;
    gap: 80px;
}

.order-detail-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cac4d0;
    border-radius: 100px;
    padding: 7px 16px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: 600 16px/24px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
}

.order-detail-filter-active {
    border-color: var(--green);
    background: var(--green);
    color: #ffffff;
}

.order-detail-leads {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 80px;
}

.order-lead-card {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    border-left: 4px solid #d1fae5;
    border-radius: 16px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.05);
}

.order-lead-row {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 48px;
}

.order-lead-note,
.order-lead-info {
    flex: 1 1 0;
    min-width: 0;
}

.order-lead-note {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-lead-note time {
    width: 100%;
    color: #6b7280;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.order-lead-note h2 {
    width: min(315px, 100%);
    color: #000000;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.order-lead-note p {
    width: min(392px, 100%);
    color: #49454f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.order-lead-info {
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.order-lead-info-item {
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    flex-direction: column;
    gap: 16px;
}

.order-lead-info-heading {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 16px;
}

.order-lead-info-heading svg {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    color: #8bcf21;
}

.order-lead-info-heading h3 {
    color: #6b7280;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap;
}

.order-lead-info-item p {
    width: 100%;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.order-lead-divider {
    width: 1px;
    align-self: stretch;
    background: #e5e7eb;
}

.order-lead-actions {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.order-lead-button {
    display: inline-flex;
    min-width: 0;
    height: 56px;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    padding: 16px 24px;
    cursor: pointer;
    font: 600 16px/20px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
}

.order-lead-button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.order-lead-approve {
    border: 2px solid var(--green);
    background: var(--green);
    color: #ffffff;
}

.order-lead-reject {
    border: 2px solid #fca5a5;
    background: #ffffff;
    color: #991b1b;
}

#reset-pass-title{
    font-size: 26px;
    text-align: left;
}

@media (max-width: 1320px) {


    .order-detail-nav {
        width: calc(100% + 80px);
        margin-left: -40px;
        padding-right: 40px;
        padding-left: 40px;
    }

    .order-detail-summary {
        align-items: flex-start;
    }

    .order-detail-close {
        width: min(414px, 34vw);
    }

    .order-lead-row {
        gap: 32px;
    }

    .order-lead-info-heading h3 {
        white-space: normal;
    }
}

@media (max-width: 860px) {

    .orders-header::after{
        display: none;
    }

    .order-detail-page {
        gap: 56px;

    }
    .order-detail-filters{
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .order-detail-filters::-webkit-scrollbar {
        display: none;
    }
    .order-detail-header {
        min-height: 0;
        overflow: visible;
    }

    .order-detail-nav {
        width: calc(100% + 48px);
        height: auto;
        min-height: 96px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-left: -24px;
        padding: 24px;
    }

    .order-detail-tabs {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .order-detail-tabs::-webkit-scrollbar {
        display: none;
    }

    .order-detail-logout {
        align-self: flex-end;
    }

    .order-detail-header-body {
        padding-top: 32px;
    }

    .order-detail-summary,
    .order-lead-row,
    .order-lead-info {
        flex-direction: column;
    }

    .order-detail-main {
        width: 100%;
    }

    .order-detail-main h1 {
        font-size: 44px;
    }

    .order-detail-close {
        width: min(100%, 260px);
        align-self: flex-start;
        margin-bottom: 16px;
    }

    .close-order-modal {
        padding: 20px;
    }

    .close-order-modal-header {
        min-height: 0;
        padding: 28px 24px 20px;
    }

    .close-order-modal-heading h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .close-order-modal-actions {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 8px 24px 24px;
    }

    .reject-lead-modal {
        align-items: flex-start;
        padding: 20px;
        overflow: auto;
    }

    .reject-lead-modal-header {
        min-height: 0;
        padding: 28px 24px 20px;
    }

    .reject-lead-modal-heading h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .reject-lead-modal-form {
        padding: 0 24px 24px;
    }

    .order-detail-content,
    .order-detail-leads {
        gap: 40px;
    }

    .order-lead-row {
        gap: 24px;
    }

    .order-lead-info {
        width: 100%;
        gap: 20px;
    }

    .order-lead-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .order-detail-page {
        gap: 40px;

    }

    .order-detail-nav {
        width: calc(100% + 40px);
        min-height: 0;
        margin-left: -20px;
        padding: 20px;
    }

    .order-detail-tabs {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        overflow: visible;
    }

    .order-detail-tab,
    .order-detail-tab-start,
    .order-detail-tab-active {
        width: 100%;
        margin-right: 0;
    }

    .order-detail-tab-start {
        border-radius: 20px 20px 0 0;
    }

    .order-detail-tab-active {
        margin-top: -1px;
        border-radius: 0 0 20px 20px;
    }

    .order-detail-breadcrumb {
        width: 100%;
        overflow-x: auto;
    }

    .order-detail-main h1 {
        font-size: 34px;
    }

    .order-detail-filter {
        padding: 7px 14px;
        font-size: 14px;
    }

    .order-lead-card {
        padding: 20px;
    }

    .order-lead-actions,
    .order-lead-actions-two {
        flex-direction: column;
        align-items: stretch;
    }

    .order-lead-button {
        width: 100%;
        flex-basis: auto;
    }

    .order-lead-info-heading h3 {
        font-size: 16px;
    }
}

@media (max-width: 860px) {


    .place-order-nav {
        height: auto;
        min-height: 96px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .place-order-tabs {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .place-order-tabs::-webkit-scrollbar {
        display: none;
    }

    .place-order-logout {
        display: none;
    }

    .place-order-hero {
        min-height: 230px;
        margin: 0 -24px;
        padding: 32px 24px;
    }

    .place-order-hero h1 {
        font-size: 44px;
    }

    .place-order-card {
        margin-top: 32px;
    }

    .place-order-blob {
        right: -230px;
    }
}

@media (max-width: 480px) {
    .place-order-page {
        padding: 0 20px 56px;
    }

    .place-order-nav {
     display: none;
    }

    .place-order-tabs {
        display: none;
    }

    .place-order-tab,
    .place-order-tab-start,
    .place-order-tab-middle {
        width: 100%;
        margin-right: 0;
    }

    .place-order-tab-start {
        border-radius: 20px 20px 0 0;
    }

    .place-order-tab-middle {
        margin-top: -1px;
        border-radius: 0 0 20px 20px;
    }

    .place-order-hero {
        min-height: 190px;
        margin: 0 -20px;
        padding: 28px 20px;
    }

    .place-order-hero h1 {
        font-size: 34px;
    }

    .place-order-hero p {
        font-size: 16px;
        line-height: 22px;
    }

    .place-order-card {
        gap: 20px;
        margin-top: 24px;
        border-radius: 20px;
        padding: 20px;
    }

    .place-order-spacer {
        display: none;
    }

    .place-order-blob {
        top: -90px;
        right: -300px;
    }
}

.my-orders-page {
    position: relative;
    min-height: 100vh;
    padding-bottom: 83px;
    overflow: hidden;
    background: var(--bg);
}

.my-orders-nav {
    position: relative;
    z-index: 3;
    display: flex;
    width: calc(100% + 128px);
    height: 96px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--green);
    padding: 24px 64px;
    background: var(--bg);
}

.my-orders-tabs {
    display: flex;
    height: 48px;
    align-items: center;
}

.my-orders-tab {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-right: -1px;
    border: 1px solid var(--outline);
    padding: 10px 12px;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    font: 500 14px/20px "Roboto", "SB Sans Display", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.1px;
    white-space: nowrap;
}

.my-orders-tab-start {
    width: 212px;
    border-radius: 100px 0 0 100px;
    background: var(--bg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.my-orders-tab-active {
    width: 140px;
    margin-right: 0;
    border-color: var(--green);
    background: var(--green);
    color: #ffffff;
}

.my-orders-tab svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.my-orders-logout {
    display: inline-flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--text);
    border-radius: 20px;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.my-orders-logout svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.my-orders-hero,
.my-orders-filters,
.my-orders-grid {
    position: relative;
    z-index: 1;
    width: min(100% - 48px, 1196px);
    margin: 61px auto 0;
}

.my-orders-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.my-orders-heading {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 24px;
}

.my-orders-heading h1,
.my-orders-heading p,
.my-order-card h2,
.my-order-card p {
    margin: 0;
}

.my-orders-heading h1 {
    width: 100%;
    color: var(--text);
    text-align: left;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.5;
}

.my-orders-heading p {
    width: 100%;
    color: #49454f;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.my-orders-add {
    display: inline-flex;
    width: 394px;
    height: 56px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    background: var(--green);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.07);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
}

.my-orders-add svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.my-orders-shape {
    position: absolute;
    z-index: 0;
    top: 126px;
    left: min(59.4vw, 856px);
    width: 621px;
    height: 577px;
    border-radius: 48% 52% 45% 55%;
    background:
        radial-gradient(ellipse at 31% 28%, rgba(216, 239, 189, 0.92) 0 20%, transparent 21%),
        radial-gradient(ellipse at 55% 21%, rgba(210, 235, 179, 0.9) 0 22%, transparent 23%),
        radial-gradient(ellipse at 77% 49%, rgba(219, 240, 190, 0.88) 0 26%, transparent 27%),
        radial-gradient(ellipse at 51% 72%, rgba(198, 230, 159, 0.58) 0 36%, transparent 37%),
        radial-gradient(ellipse at 26% 56%, rgba(224, 242, 204, 0.75) 0 28%, transparent 29%);
    pointer-events: none;
}

.my-orders-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.my-orders-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cac4d0;
    border-radius: 100px;
    padding: 7px 16px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: 600 14px/21px "SB Sans Display", "Segoe UI", Arial, sans-serif;
    white-space: nowrap;
}

.my-orders-chip-active {
    border-color: var(--green);
    background: var(--green);
    color: #ffffff;
}

.my-orders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
}

.my-order-card {
    display: flex;
    min-width: 0;
    min-height: 171px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.08);
}

.my-order-category {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    padding: 4px 8px;
    background: #e1f8b6;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.my-order-card h2 {
    width: 100%;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.my-order-card p {
    width: 100%;
    color: #49454f;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.my-order-meta {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #49454f;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.my-order-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 100px;
    padding: 4px 8px;
    font-weight: 600;
    white-space: nowrap;
}

.my-order-status svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

.my-order-status-open {
    background: #e1f8b6;
    color: var(--text);
}

.my-order-status-closed {
    background: #fce8e8;
    color: #ef4444;
}

@media (max-width: 1320px) {
    .my-orders-page {
        padding-right: 40px;
        padding-left: 40px;
    }

    .my-orders-nav {
        width: calc(100% + 80px);
        padding-right: 40px;
        padding-left: 40px;
    }

    .my-orders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .my-orders-shape {
        left: auto;
        right: -220px;
    }
}

@media (max-width: 860px) {
    .my-orders-page {
        gap: 56px;
        padding: 0 24px 72px;
    }

    .my-orders-nav {
        width: calc(100% + 48px);
        height: auto;
        min-height: 96px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .my-orders-tabs {
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .my-orders-tabs::-webkit-scrollbar {
        display: none;
    }

    .my-orders-logout {
        align-self: flex-end;
    }

    .my-orders-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .my-orders-heading h1 {
        font-size: 44px;
        line-height: 1.15;
    }

    .my-orders-add {
        width: min(100%, 394px);
    }

    .my-orders-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .my-orders-shape {
        top: 170px;
        right: -360px;
        opacity: 0.72;
    }
}

@media (max-width: 480px) {
    .my-orders-page {
        gap: 40px;
        padding: 0 20px 56px;
    }

    .my-orders-nav {
        width: calc(100% + 40px);
        min-height: 0;
        padding: 20px;
    }

    .my-orders-tabs {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        overflow: visible;
    }

    .my-orders-tab,
    .my-orders-tab-start,
    .my-orders-tab-active {
        width: 100%;
        margin-right: 0;
    }

    .my-orders-tab-start {
        border-radius: 20px 20px 0 0;
    }

    .my-orders-tab-active {
        margin-top: -1px;
        border-radius: 0 0 20px 20px;
    }

    .my-orders-heading {
        gap: 18px;
    }

    .my-orders-heading h1 {
        font-size: 34px;
    }

    .my-orders-heading p {
        font-size: 16px;
        line-height: 22px;
    }

    .my-orders-filters {
        gap: 8px;
    }

    .my-orders-chip {
        padding: 7px 14px;
    }

    .my-order-card {
        min-height: 0;
        padding: 20px;
    }

    .my-orders-shape {
        right: -430px;
    }
}

@media (max-width: 560px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .page {
        display: flex;
        min-height: 100vh;
        align-items: flex-start;
        padding: 24px;
    }

    .page-registration {
        padding: 24px;
    }

    .auth-card {
        padding: 28px;
        transform: none;
    }

    h1 {
        font-size: 42px;
        line-height: 48px;
    }
    .blob-bottom-left{
        bottom: 0px;
    }
}

@media (max-width: 1320px) {
    .orders-grid {
        grid-template-columns: repeat(2, 360px);
    }

    .leads-page {
        padding-right: 40px;
        padding-left: 40px;
    }

    .rating-page {
        padding-right: 40px;
        padding-left: 40px;
    }

    .leaderboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .rating-page{
        padding-bottom: 0;
    }
    .orders-header {
        padding: 24px 24px 0;
    }

    .orders-header-content {
        margin-top: 92px;
    }

    .orders-header-content::after {
        right: 0;
    }

    .segmented-nav {
        left: 24px;
        width: calc(100% - 48px);
        max-width: 590px;
    }

    .logout-button {
        top: 84px;
        right: 24px;
    }

    .orders-title {
        font-size: clamp(36px, 8vw, 52px);
        white-space: normal;
    }

    .orders-toolbar,
    .orders-grid {
        width: calc(100% - 40px);
    }

    .orders-search {
        width: min(100%, 388px);
    }

    .orders-filter-menu {
        width: min(100%, 388px);
    }

    .orders-grid {
        grid-template-columns: minmax(0, 360px);
    }



    .rating-title {
        font-size: 40px;
    }

    .rating-podium {
        gap: 20px;
        margin-top: 72px;
    }

    .podium-place {
        width: 160px;
    }

    .podium-person {
        width: 100%;
    }

    .profile-stats-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-identity {
        width: 100%;
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .profile-text {
        min-width: 0;
        gap: 2px;
    }

    .profile-status {
        align-items: center;
        flex-direction: row;
        gap: 4px;
    }

    .profile-status span,
    .profile-status strong {
        width: auto;
    }

    .profile-status span {
        font-size: 13px;
        line-height: 15px;
        white-space: nowrap;
    }

    .profile-status strong {
        height: 22px;
        min-height: 0;
        border-radius: 4px;
        padding: 0 8px;
        font-size: 12px;
        line-height: 14px;
        white-space: nowrap;
    }

    .profile-text p {
        font-size: 14px;
        line-height: 20px;
        overflow-wrap: anywhere;
    }

    .profile-stats-grid,
    .leaderboard-grid {
        grid-template-columns: 1fr;
    }

    .leads-page {
        gap: 56px;
        padding: 40px 24px 72px;
    }

    .leads-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .leads-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .leads-header h1 {
        font-size: 44px;
        white-space: normal;
    }

    .lead-modal {
        align-items: flex-start;
        padding: 20px;
        overflow: auto;
    }

    .lead-modal-card {
        max-height: none;
        padding: 24px;
    }

    .lead-modal-heading h2 {
        text-align: left;
        font-size: 30px;
        line-height: 36px;
    }
}

@media (max-width: 480px) {
    .rating-page {
        padding: 0;
    }

    .rating-blob-top {
        right: -420px;
    }

    .rating-vector {
        left: -360px;
    }

    .rating-title {
        font-size: 32px;
    }

    .rating-subtitle {
        font-size: 15px;
    }

    .rating-podium {
        align-items: flex-end;
        gap: 8px;
        margin-top: 48px;
    }

    .podium-place {
        width: calc((100% - 16px) / 3);
    }

    .podium-place-first .podium-bar {
        height: 180px;
    }

    .podium-place-second .podium-bar {
        height: 132px;
    }

    .podium-place-third .podium-bar {
        height: 104px;
    }

    .podium-person h2 {
        font-size: 14px;
    }

    .podium-person p {
        font-size: 12px;
        line-height: 16px;
    }

    .profile-stats {
        margin-top: 56px;
        padding: 20px;
    }

    .profile-status strong {
        min-height: 0;
        text-align: center;
    }

    .leaderboard-card {
        padding: 16px;
    }

    .leads-page {
        gap: 40px;
        padding: 28px 20px 56px;
    }

    .leads-tabs {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
    }

    .leads-tab,
    .leads-tab-start,
    .leads-tab:not(.leads-tab-start):not(.leads-tab-end),
    .leads-tab-end {
        width: 50%;
    }

    .leads-tab-start {
        border-radius: 20px 0 0 0;
    }

    .leads-tab:not(.leads-tab-start):not(.leads-tab-end) {
        border-radius: 0 20px 0 0;
    }

    .leads-tab-end {
        width: calc(100% + 1px);
        margin-top: -1px;
        border-radius: 0 0 20px 20px;
    }

    .leads-logout {
        align-self: flex-end;
    }

    .leads-header h1 {
        font-size: 34px;
    }

    .leads-header p {
        font-size: 16px;
        line-height: 22px;
    }

    .leads-header-shape {
        right: -360px;
    }

    .my-lead-card {
        min-height: 0;
        padding: 20px;
    }

    .orders-header {
        min-height: 214px;
        padding: 0 20px;
    }

    .orders-header.menu-open {
        overflow: visible;
    }

    .orders-header::after {
        right: -69px;
        bottom: 0;
        width: 451px;
        height: 305px;
        opacity: 0.6;
    }

    .orders-menu-button {
        position: fixed;
        z-index: 42;
        top: 11px;
        right: 14px;
        display: flex;
        width: 24px;
        height: 24px;
        align-items: center;
        justify-content: center;
        border: 0;
        padding: 0;
        background: transparent;
        color: var(--text);
        cursor: pointer;
    }

    .orders-menu-button svg {
        width: 24px;
        height: 24px;
    }

    .orders-header-content {
        position: absolute;
        z-index: 1;
        top: 52px;
        right: 52px;
        left: 20px;
        gap: 24px;
        max-width: none;
        margin-top: 0;
        padding-bottom: 0;
    }

    .orders-header-content::after,
    .orders-logo {
        display: none;
    }

    .orders-title {
        font-size: 28px;
        line-height: normal;
        white-space: nowrap;
    }

    .orders-subtitle {
        width: 100%;
        font-size: 13px;
        line-height: 24px;
    }

    .segmented-nav {
        position: fixed;
        z-index: 40;
        top: 24px;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        max-width: 402px;
        margin: 0 auto;
        border: 1px solid #e5e7eb;
        border-radius: 8px 8px 0 0;
        padding: 0 0 88px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: none;
        opacity: 0;
        pointer-events: none;
        transform: translateY(24px);
        visibility: hidden;
    }

    .orders-header.menu-open .segmented-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .segmented-nav-item {
        position: relative;
        width: 100%;
        height: 56px;
        flex: 0 0 56px;
        min-width: 0;
        justify-content: flex-start;
        gap: 12px;
        margin-right: 0;
        border: 0;
        border-radius: 0;
        padding: 0 16px;
        color: #6b7280;
        background: transparent;
        font-size: 16px;
        font-weight: 600;
        line-height: normal;
        letter-spacing: 0;
    }

    .segmented-nav-item::before {
        content: "";
        display: grid;
        width: 24px;
        height: 24px;
        flex: 0 0 auto;
        border-radius: 12px;
        background: #f3f4f6;
        color: #6b7280;
        place-items: center;
    }

    .segmented-nav-item:nth-child(2)::before {
        content: "★";
        font-size: 13px;
        line-height: 1;
    }

    .segmented-nav-item:nth-child(3)::before {
        background:
            radial-gradient(circle at 8px 8px, #6b7280 0 3px, transparent 3.5px),
            radial-gradient(circle at 16px 8px, #6b7280 0 3px, transparent 3.5px),
            radial-gradient(ellipse at 8px 17px, #6b7280 0 5px, transparent 5.5px),
            radial-gradient(ellipse at 16px 17px, #6b7280 0 5px, transparent 5.5px),
            #f3f4f6;
    }

    .segmented-nav-item::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 1px;
        background: #e5e7eb;
    }

    .segmented-nav-item-active {
        background: #e1f8b6;
        box-shadow: none;
        color: var(--text);
    }

    .segmented-nav-item-active::before {
        background: var(--green);
    }

    .segmented-nav-item-active .segmented-nav-icon {
        display: block;
        width: 14px;
        height: 14px;
        margin: 0 5px 0 -31px;
        color: #ffffff;
    }

    .segmented-nav-item:first-child {
        border-radius: 12px;
    }

    .segmented-nav-item:last-child {
        min-width: 0;
        border-radius: 0;
    }

    .logout-button {
        position: fixed;
        z-index: 41;
        top: auto;
        right: 0;
        bottom: 32px;
        left: 0;
        width: min(402px, 100%);
        margin: 0 auto;
        height: 40px;
        gap: 8px;
        border: 0;
        border-radius: 100px;
        background: #ffffff;
        color: #817d86;
        font-size: 13px;
        font-weight: 600;
        opacity: 0;
        pointer-events: none;
        transform: translateY(24px);
        visibility: hidden;
    }

    .logout-icon {
        width: 24px;
        height: 24px;
    }

    .orders-header.menu-open .logout-button {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .place-order-page.menu-open {
        overflow: visible;
    }

    .place-order-page.menu-open .place-order-nav {
        display: flex;
    }

    .place-order-page.menu-open .place-order-tabs {
        display: flex;
    }

    .place-order-page .place-order-nav {
        position: fixed;
        z-index: 40;
        top: 24px;
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        max-width: 402px;
        height: auto;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        margin: 0 auto;
        border: 1px solid #e5e7eb;
        border-radius: 8px 8px 0 0;
        padding: 0 0 88px;
        overflow: hidden;
        background: #ffffff;
        opacity: 0;
        pointer-events: none;
        transform: translateY(24px);
        visibility: hidden;
    }

    .place-order-page.menu-open .place-order-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .place-order-page .place-order-tabs {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
    }

    .place-order-page .place-order-tab,
    .place-order-page .place-order-tab-start,
    .place-order-page .place-order-tab-middle {
        position: relative;
        width: 100%;
        height: 56px;
        min-width: 0;
        justify-content: flex-start;
        gap: 12px;
        margin-right: 0;
        border: 0;
        border-radius: 0;
        padding: 0 16px;
        background: transparent;
        color: #6b7280;
        font-size: 16px;
        font-weight: 600;
    }

    .place-order-page .place-order-tab::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 1px;
        background: #e5e7eb;
    }

    .place-order-page .place-order-tab-active {
        background: #e1f8b6;
        color: var(--text);
        box-shadow: none;
    }

    .lead-card {
        height: auto;
    }

    .orders-more {
        margin-top: 64px;
    }

    .lead-modal-card {
        border-radius: 20px;
        padding: 20px;
    }

    .lead-modal-header {
        gap: 8px;
    }

    .lead-modal-submit {
        height: 52px;
    }
}

@media (max-width: 760px) {
    .success-page {
        padding: 40px 20px;
    }

    .success-blob {
        width: 420px;
        min-width: 420px;
        opacity: 0.72;
    }

    .success-blob--top-left {
        top: -150px;
        left: -230px;
    }

    .success-blob--top-right {
        top: -130px;
        right: -230px;
    }

    .success-blob--bottom-left {
        bottom: -190px;
        left: -260px;
    }

    .success-blob--bottom-right {
        right: -270px;
        bottom: -220px;
    }

    .success-content {
        gap: 28px;
    }

    .success-icon {
        width: 104px;
        height: 104px;
    }

    .success-icon svg {
        width: 48px;
        height: 48px;
    }

    .success-title {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.08;
    }

    .success-description {
        font-size: 18px;
        line-height: 27px;
    }
}

@media (max-width: 380px) {
    .page {
        padding: 16px;
    }

    .auth-card {
        padding: 24px;
    }

    h1 {
        font-size: 34px;
        line-height: 40px;
    }
}
