/* =============================================
   HESAP / PROFİL İÇ SAYFALAR
   ============================================= */

.page-account .hero {
    min-height: clamp(300px, 20vw + 120px, 380px);
}

.page-account .hero__bg img {
    object-position: center top;
}

.page-account .hero__bg::after {
    background: linear-gradient(
        180deg,
        rgba(5, 12, 28, 0.15) 0%,
        rgba(5, 12, 28, 0.45) 100%
    );
}

.hero-stack--account {
    position: relative;
    top: -10rem;
    margin-bottom: -10rem;
    z-index: 20;
    width: 100%;
    background: transparent;
    padding-bottom: 2rem;
}

.page-account .site-main--account {
    background: transparent;
}

.account-page {
    width: 100%;
}

.account-page__shell {
    display: grid;
    grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #dbe4f0;
    box-shadow:
        0 22px 56px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.account-page__shell::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 102, 223, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ---- Sidebar ---- */

.account-sidebar {
    position: relative;
    z-index: 1;
    border-right: 1px solid #e8edf5;
    background:
        linear-gradient(180deg, #f8fbff 0%, #f3f7ff 42%, #ffffff 100%);
}

.account-sidebar__card {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
    padding: 1.15rem 1rem 1.25rem;
}

.account-sidebar__profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    text-decoration: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.account-sidebar__profile:hover {
    border-color: #c7d7fe;
    box-shadow: 0 14px 30px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px);
}

.account-sidebar__avatar {
    display: inline-flex;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #dbeafe;
}

.account-sidebar__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-sidebar__profile-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.account-sidebar__profile-name {
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-sidebar__profile-balance {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
}

.account-sidebar__profile-balance i {
    font-size: 0.75rem;
    opacity: 0.9;
}

.account-sidebar__profile-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 0.65rem;
}

.account-sidebar__intro {
    padding: 0.35rem 0.5rem 0.15rem;
}

.account-sidebar__eyebrow {
    display: block;
    margin-bottom: 0.25rem;
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-sidebar__intro-text {
    margin: 0;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.45;
}

.account-sidebar__nav {
    flex: 1;
}

.account-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-sidebar__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 46px;
    padding: 0.55rem 0.7rem;
    border-radius: 12px;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition:
        background-color var(--transition),
        color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.account-sidebar__link:hover {
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
    transform: translateX(2px);
}

.account-sidebar__link.is-active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.account-sidebar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
    transition:
        background-color var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.account-sidebar__link:hover .account-sidebar__icon {
    border-color: #dbeafe;
    color: #2563eb;
    background: #ffffff;
}

.account-sidebar__link.is-active .account-sidebar__icon {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.account-sidebar__label {
    flex: 1;
    min-width: 0;
}

.account-sidebar__active-dot {
    flex-shrink: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.account-sidebar__topup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    margin-top: auto;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.account-sidebar__topup:hover {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
    color: #14532d;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(21, 128, 61, 0.18);
}

.account-sidebar__topup.is-active {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-color: #15803d;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(21, 128, 61, 0.28);
}

.account-sidebar__topup-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
}

.account-sidebar__topup.is-active .account-sidebar__topup-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.account-sidebar__toggle {
    display: none;
}

.account-sidebar__panel {
    display: block;
}

.account-sidebar__panel-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

/* ---- İçerik alanı ---- */

.account-page__content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 1.35rem 1.5rem 1.5rem;
}

.account-panel {
    width: 100%;
}

.account-panel__head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.account-panel__title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.35rem, 1vw + 1rem, 1.65rem);
    font-weight: 700;
    line-height: 1.2;
}

.account-panel__subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.account-panel--placeholder {
    min-height: 280px;
    padding: 0.5rem 0.25rem 1rem;
}

/* ---- Profilim sayfası ---- */

.account-panel--profilim {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.profile-page__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile-page__title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.2rem, 0.8vw + 1rem, 1.45rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.profile-page__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 1.05rem;
}

.profile-page__topup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.profile-page__topup:hover {
    background: #bbf7d0;
    color: #14532d;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(21, 128, 61, 0.14);
}

.profile-page__topup i {
    font-size: 0.95rem;
}

.profile-page__divider {
    height: 1px;
    background: #e8edf5;
}

.profile-section {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.profile-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.profile-section__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.profile-section__title--with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-section__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 0.95rem;
}

.profile-section__settings {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.profile-section__settings:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.profile-section__settings i {
    font-size: 0.8rem;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 2rem;
}

.profile-info-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.profile-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: #e8f1ff;
    color: #3b82f6;
    font-size: 0.95rem;
}

.profile-info-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.profile-info-card__value {
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.profile-info-card__label {
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
}

.profile-section--orders {
    gap: 1rem;
}

.profile-orders {
    width: 100%;
}

.profile-orders__table {
    width: 100%;
    border-top: 1px solid #e8edf5;
}

.profile-orders__row {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 0.7fr 0.8fr 1fr;
    gap: 0.75rem;
    align-items: center;
}

.profile-orders__row--head {
    padding: 0.95rem 0 0.75rem;
}

.profile-orders__row--head .profile-orders__cell {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.profile-orders__cell {
    min-width: 0;
    color: #0f172a;
    font-size: 0.875rem;
    line-height: 1.4;
}

.profile-orders__empty {
    padding: 1.5rem 0 0.5rem;
}

.profile-orders__empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ---- Siparişlerim sayfası ---- */

.account-panel--orders {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.orders-list__empty {
    padding: 2rem 0;
    text-align: center;
}

.orders-list__empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9375rem;
}

.orders-list__back-link {
    display: inline-flex;
    margin-top: 0.75rem;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.orders-list__back-link:hover {
    text-decoration: underline;
}

.order-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.order-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.order-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(180deg, #fafcff 0%, #ffffff 100%);
}

.order-card__header-start {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.order-card__code {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border-radius: 8px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.order-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.order-card__status--success {
    background: #dcfce7;
    color: #15803d;
}

.order-card__status--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.order-card__status--danger {
    background: #fee2e2;
    color: #b91c1c;
}

.order-card__status--neutral {
    background: #f1f5f9;
    color: #475569;
}

.order-card__date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.order-card__date i {
    font-size: 0.72rem;
    opacity: 0.85;
}

.order-card__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
}

.order-card__pricing {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.order-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    font-size: 1.05rem;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.order-card__amount-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.order-card__amount-label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-card__amount {
    color: #0f172a;
    font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.order-card__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.order-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.order-card__chip i {
    color: #64748b;
    font-size: 0.7rem;
}

.order-card__detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.order-card__detail:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.3);
}

.order-card__detail i {
    font-size: 0.72rem;
    transition: transform var(--transition);
}

.order-card__detail:hover i {
    transform: translateX(2px);
}

.order-progress {
    position: relative;
    margin: 0 1.1rem 1.1rem;
    padding: 0.85rem 0.9rem 0.75rem;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e8edf5;
}

.order-progress__track {
    position: absolute;
    top: calc(0.85rem + 0.725rem);
    left: 0.9rem;
    right: 0.9rem;
    height: 4px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    pointer-events: none;
}

.order-progress__fill {
    display: block;
    width: min(
        100%,
        calc((((var(--progress-stop, 0) * 2) - 1) / 6 * 100%) + 0.73rem)
    );
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    transition: width 0.35s ease;
}

.order-progress--completed .order-progress__fill {
    width: 100%;
}

.order-progress--returned .order-progress__fill {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.order-progress--processing .order-progress__fill {
    background: linear-gradient(90deg, #3b82f6 0%, #22c55e 100%);
}

.order-progress__steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    text-align: center;
}

.order-progress__dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: transparent;
    font-size: 0.62rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.order-progress__step--done .order-progress__dot {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}

.order-progress__step--failed .order-progress__dot {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.order-progress__step--current .order-progress__dot {
    background: #ffffff;
    border-color: #22c55e;
    color: transparent;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.order-progress__pulse {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #22c55e;
}

.order-progress__label {
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.25;
}

.order-progress__step--done .order-progress__label,
.order-progress__step--failed .order-progress__label,
.order-progress__step--current .order-progress__label {
    color: #334155;
}

.orders-pagination {
    display: flex;
    justify-content: center;
    padding-top: 0.35rem;
}

.orders-pagination__list {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.orders-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    min-height: 2.1rem;
    padding: 0.2rem 0.55rem;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: #ffffff;
    color: #2563eb;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.orders-pagination__link:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.orders-pagination__link.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    pointer-events: none;
}

/* ---- Sipariş detay sayfası ---- */

.account-panel--order-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-detail-status__head {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
}

.order-detail-status__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.order-detail-status__subtitle {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.order-detail-status__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.order-detail-status-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 96px;
    padding: 0.9rem 0.75rem 1rem;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
    overflow: hidden;
    opacity: 0.72;
    transition:
        opacity var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.order-detail-status-card.is-active {
    opacity: 1;
    border-color: #dbeafe;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

.order-detail-status-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
}

.order-detail-status-card.is-active .order-detail-status-card__icon {
    border-color: transparent;
    color: #ffffff;
}

.order-detail-status-card--danger.is-active .order-detail-status-card__icon {
    background: #ef4444;
}

.order-detail-status-card--neutral.is-active .order-detail-status-card__icon {
    background: #64748b;
}

.order-detail-status-card--success.is-active .order-detail-status-card__icon {
    background: #22c55e;
}

.order-detail-status-card__label {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.order-detail-status-card.is-active .order-detail-status-card__label {
    color: #0f172a;
}

.order-detail-status-card__accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #e2e8f0;
}

.order-detail-status-card--danger .order-detail-status-card__accent {
    background: #fca5a5;
}

.order-detail-status-card--neutral .order-detail-status-card__accent {
    background: #cbd5e1;
}

.order-detail-status-card--success .order-detail-status-card__accent {
    background: #86efac;
}

.order-detail-status-card.is-active.order-detail-status-card--danger .order-detail-status-card__accent {
    background: #ef4444;
}

.order-detail-status-card.is-active.order-detail-status-card--neutral .order-detail-status-card__accent {
    background: #64748b;
}

.order-detail-status-card.is-active.order-detail-status-card--success .order-detail-status-card__accent {
    background: #22c55e;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.order-detail-box {
    padding: 1.1rem 1.15rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #f8fafc;
}

.order-detail-box__head {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.order-detail-box__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.order-detail-box__subtitle {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.order-detail-items__head,
.order-detail-items__row {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 0.9fr 0.7fr;
    gap: 0.75rem;
    align-items: center;
}

.order-detail-items__head {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e8edf5;
}

.order-detail-items__head .order-detail-items__cell {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
}

.order-detail-items__row {
    padding: 0.95rem 0;
    border-bottom: 1px solid #eef2f7;
}

.order-detail-items__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-detail-items__cell--price {
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: right;
}

.order-detail-product {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    color: #2563eb;
    text-decoration: none;
    transition: color var(--transition);
}

.order-detail-product:hover {
    color: #1d4ed8;
}

.order-detail-product__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--brand-color) 12%, white);
    color: var(--brand-color);
    font-size: 0.95rem;
}

.order-detail-product__title {
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
}

.order-detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 1.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.order-detail-badge i {
    font-size: 0.65rem;
}

.order-detail-badge--success {
    background: #dcfce7;
    color: #15803d;
}

.order-detail-badge--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.order-detail-badge--danger {
    background: #fee2e2;
    color: #b91c1c;
}

.order-detail-badge--neutral {
    background: #f1f5f9;
    color: #475569;
}

.order-detail-payment {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
}

.order-detail-payment__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.order-detail-payment__row dt,
.order-detail-payment__row dd {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.35;
}

.order-detail-payment__row dt {
    color: #64748b;
    font-weight: 600;
}

.order-detail-payment__row dd {
    color: #0f172a;
    font-weight: 700;
}

.order-detail-payment__row--total {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e8edf5;
}

.order-detail-payment__row--total dt,
.order-detail-payment__row--total dd {
    font-size: 0.9375rem;
    font-weight: 800;
}

.order-detail-payment__row--total dd {
    color: #2563eb;
}

.order-detail-back {
    padding-top: 0.15rem;
}

.order-detail-back .orders-list__back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0;
}

/* ---- Destek talepleri ---- */

.account-panel--support,
.account-panel--support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-table__head,
.support-table__row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr 0.9fr 0.8fr;
    gap: 0.75rem;
    align-items: center;
}

.support-table__head {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #e8edf5;
}

.support-table__head .support-table__cell {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
}

.support-table__row {
    padding: 0.95rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.support-table__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.support-table__cell {
    min-width: 0;
    color: #0f172a;
    font-size: 0.875rem;
    line-height: 1.4;
}

.support-table__cell--id strong {
    font-weight: 800;
}

.support-table__empty {
    padding: 2rem 0;
    text-align: center;
}

.support-table__empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9375rem;
}

.support-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.support-status--warning {
    background: #fef3c7;
    color: #b45309;
}

.support-status--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.support-status--success {
    background: #dcfce7;
    color: #15803d;
}

.support-status--neutral {
    background: #f1f5f9;
    color: #475569;
}

.support-table__view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.support-table__view:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.support-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.support-back-btn:hover {
    background: #bbf7d0;
    color: #14532d;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(21, 128, 61, 0.14);
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 100%;
}

.support-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.support-form__label {
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.3;
}

.support-form__control {
    position: relative;
}

.support-form__select,
.support-form__textarea {
    width: 100%;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    line-height: 1.45;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.support-form__select {
    appearance: none;
    min-height: 48px;
    padding: 0.75rem 2.5rem 0.75rem 0.95rem;
    cursor: pointer;
}

.support-form__select:focus,
.support-form__textarea:focus {
    outline: none;
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.support-form__select:invalid {
    color: #94a3b8;
}

.support-form__chevron {
    position: absolute;
    top: 50%;
    right: 0.95rem;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.75rem;
    pointer-events: none;
}

.support-form__textarea {
    min-height: 180px;
    padding: 0.9rem 0.95rem;
    resize: vertical;
}

.support-form__textarea::placeholder {
    color: #94a3b8;
}

.support-form__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.25rem;
}

.support-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.65rem 1.15rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(22, 163, 74, 0.24);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.support-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.3);
}

/* ---- Destek detay ---- */

.account-panel--support-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.support-detail-summary {
    padding: 1rem 1.1rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #f8fafc;
}

.support-detail-summary__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.support-detail-summary__item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.support-detail-summary__label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.support-detail-summary__value {
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
}

.support-detail-thread__head,
.support-detail-reply__head {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
}

.support-detail-thread__title,
.support-detail-reply__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.support-detail-thread__subtitle,
.support-detail-reply__subtitle {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.support-thread {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.support-message {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: min(100%, 720px);
    padding: 0.9rem 1rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #ffffff;
}

.support-message--user {
    margin-left: auto;
    border-color: #dbeafe;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.support-message--staff {
    margin-right: auto;
    border-color: #e2e8f0;
    background: #f8fafc;
}

.support-message__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.support-message__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    font-size: 0.85rem;
}

.support-message--user .support-message__avatar {
    background: #dbeafe;
    color: #2563eb;
}

.support-message--staff .support-message__avatar {
    background: #dcfce7;
    color: #15803d;
}

.support-message__meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.support-message__name {
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 800;
    line-height: 1.25;
}

.support-message__date {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.support-message__body p {
    margin: 0;
    color: #334155;
    font-size: 0.875rem;
    line-height: 1.55;
}

.support-form--reply .support-form__textarea {
    min-height: 130px;
}

.support-detail-closed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.35rem 1rem;
    border: 1px dashed #dbe4f0;
    border-radius: 14px;
    background: #f8fafc;
    text-align: center;
}

.support-detail-closed i {
    color: #22c55e;
    font-size: 1.35rem;
}

.support-detail-closed p {
    margin: 0;
    max-width: 28rem;
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ---- Kuponlarım ---- */

.account-panel--coupons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    align-items: start;
}

.coupons-grid__empty {
    grid-column: 1 / -1;
    padding: 2rem 0;
    text-align: center;
}

.coupons-grid__empty p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9375rem;
}

.coupon-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem 1.05rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.coupon-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.coupon-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.coupon-card__title {
    margin: 0;
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.35;
}

.coupon-card__platform {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: var(--brand-color, #2563eb);
    color: #ffffff;
    font-size: 1rem;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--brand-color, #2563eb) 28%, transparent);
}

.coupon-card__platform--twitter,
.coupon-card__platform--tiktok {
    background: #111111;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.coupon-card__code-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.55rem 0.55rem 0.55rem 0.85rem;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #f8fbff;
}

.coupon-card__code {
    color: #2563eb;
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    word-break: break-all;
}

.coupon-card__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 8px;
    background: #ffffff;
    color: #64748b;
    font-size: 0.9rem;
    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.coupon-card__copy:hover {
    background: #eff6ff;
    color: #2563eb;
}

.coupon-card__copy.is-copied {
    background: #dcfce7;
    color: #15803d;
}

.coupon-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.coupon-card__meta {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.35;
}

/* ---- Ayarlar ---- */

.account-panel--settings {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.settings-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0.25rem;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.settings-tabs__btn {
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #0f172a;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.settings-tabs__btn.is-active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.settings-panel {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-panel.is-active {
    display: flex;
}

.settings-panel[hidden] {
    display: none !important;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.settings-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.settings-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.settings-form__label {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.settings-form__input {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 0.95rem;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    line-height: 1.4;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.settings-form__input::placeholder {
    color: #94a3b8;
}

.settings-form__input:focus {
    outline: none;
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.settings-form__phone {
    display: flex;
    align-items: stretch;
    min-height: 48px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #f8fafc;
    overflow: hidden;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.settings-form__phone:focus-within {
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.settings-form__phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0 0.75rem;
    border: none;
    border-right: 1px solid #e8edf5;
    background: #f1f5f9;
    color: #0f172a;
    font: inherit;
    cursor: pointer;
}

.settings-form__flag {
    font-size: 1rem;
    line-height: 1;
}

.settings-form__phone-prefix i {
    color: #64748b;
    font-size: 0.65rem;
}

.settings-form__input--phone {
    min-height: auto;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.settings-form__input--phone:focus {
    box-shadow: none;
}

.settings-form__actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.15rem;
}

.settings-form__actions--start {
    justify-content: flex-start;
}

.settings-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.6rem 1.15rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.settings-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.28);
}

.settings-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.35rem;
    border-top: 1px solid #f1f5f9;
}

.settings-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.settings-block__title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #0f172a;
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.3;
}

.settings-block__title i {
    color: #64748b;
    font-size: 0.9rem;
}

.settings-notifications {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.settings-notifications__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.settings-notifications__item {
    width: 100%;
}

.settings-notify-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.settings-notify-card:hover {
    border-color: #dbeafe;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.settings-notify-card__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.settings-notify-card__input:checked ~ .settings-notify-card__icon,
.settings-notify-card__input:checked ~ .settings-notify-card__copy,
.settings-notify-card__input:checked ~ .settings-toggle {
    opacity: 1;
}

.settings-notify-card:has(.settings-notify-card__input:checked) {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #f8fff9 0%, #ffffff 100%);
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.08);
}

.settings-notify-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.settings-notify-card--blue .settings-notify-card__icon {
    background: #eff6ff;
    color: #2563eb;
}

.settings-notify-card--green .settings-notify-card__icon {
    background: #ecfdf5;
    color: #16a34a;
}

.settings-notify-card--violet .settings-notify-card__icon {
    background: #f5f3ff;
    color: #7c3aed;
}

.settings-notify-card__copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.settings-notify-card__title {
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.3;
}

.settings-notify-card__desc {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
}

.settings-toggle {
    position: relative;
    flex-shrink: 0;
    width: 2.65rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #e2e8f0;
    transition: background var(--transition);
}

.settings-toggle__knob {
    position: absolute;
    top: 0.15rem;
    left: 0.15rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
    transition: transform var(--transition);
}

.settings-notify-card__input:checked ~ .settings-toggle {
    background: #22c55e;
}

.settings-notify-card__input:checked ~ .settings-toggle .settings-toggle__knob {
    transform: translateX(1.15rem);
}

.settings-notifications__info {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}

.settings-notifications__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.85rem;
}

.settings-notifications__note {
    margin: 0;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.55;
}

.settings-notifications__footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.15rem;
}

/* ---- Bakiye yükle ---- */

.profile-page__toolbar--solo {
    justify-content: flex-start;
}

.account-panel--topup {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.topup-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0.25rem;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.topup-tabs__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0.55rem 0.85rem;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #0f172a;
    font-family: var(--font-family);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.topup-tabs__btn i {
    font-size: 0.8125rem;
}

.topup-tabs__btn.is-active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.topup-panel {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
}

.topup-panel.is-active {
    display: flex;
}

.topup-panel[hidden] {
    display: none !important;
}

.topup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.topup-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.topup-section__head {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.topup-section__head--inline .topup-section__title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.topup-section__title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.topup-section__subtitle {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.topup-section__label {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.topup-packages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.topup-package {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-height: 132px;
    padding: 0.85rem 0.65rem 0.75rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    text-align: center;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        transform var(--transition),
        background var(--transition);
}

.topup-package:hover {
    border-color: #bbf7d0;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.topup-package.is-selected {
    border-color: #22c55e;
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    box-shadow: 0 14px 32px rgba(34, 197, 94, 0.14);
}

.topup-package__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.topup-package__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 1.45rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.topup-package__amount {
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.topup-package__label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.topup-package__bonus {
    margin-top: 0.15rem;
    color: #16a34a;
    font-size: 0.6875rem;
    font-weight: 800;
    line-height: 1.2;
}

.topup-package__check {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: transparent;
    font-size: 0.55rem;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.topup-package.is-selected .topup-package__check {
    border-color: #22c55e;
    background: #22c55e;
    color: #ffffff;
}

.topup-amount {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0 0.95rem;
    border: 1px solid #e8edf5;
    border-radius: 12px;
    background: #f8fafc;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.topup-amount:focus-within {
    border-color: #93c5fd;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.topup-amount i {
    color: #64748b;
    font-size: 0.95rem;
}

.topup-amount__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #0f172a;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.topup-amount__input:focus {
    outline: none;
}

.topup-amount__suffix {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
}

.topup-payments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.topup-payment {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-height: 118px;
    padding: 0.9rem;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        transform var(--transition);
}

.topup-payment:hover {
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.1);
}

.topup-payment.is-selected {
    border-color: #2563eb;
    background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.topup-payment__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.topup-payment__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.9rem;
}

.topup-payment.is-selected .topup-payment__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.topup-payment__copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.topup-payment__copy strong {
    color: #0f172a;
    font-size: 0.875rem;
    font-weight: 800;
    line-height: 1.25;
}

.topup-payment__copy span {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.topup-payment.is-selected .topup-payment__copy strong,
.topup-payment.is-selected .topup-payment__copy span {
    color: #ffffff;
}

.topup-payment__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
}

.topup-payment__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.topup-payment.is-selected .topup-payment__badge {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.topup-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding: 1rem 1.05rem;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.topup-summary {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
}

.topup-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topup-summary__row dt,
.topup-summary__row dd {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.35;
}

.topup-summary__row dt {
    color: #64748b;
    font-weight: 600;
}

.topup-summary__row dd {
    color: #0f172a;
    font-weight: 700;
}

.topup-summary__row--total {
    margin-top: 0.25rem;
    padding-top: 0.7rem;
    border-top: 1px solid #e8edf5;
}

.topup-summary__row--total dt,
.topup-summary__row--total dd {
    font-size: 0.9375rem;
    font-weight: 800;
}

.topup-summary__row--total dd {
    color: #2563eb;
}

.topup-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.7rem 1.25rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-family: var(--font-family);
    font-size: 0.9375rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.28);
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.topup-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(22, 163, 74, 0.34);
}

.topup-history {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.topup-history__head,
.topup-history__row {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr 0.7fr 1fr;
    gap: 0.75rem;
    align-items: center;
}

.topup-history__head {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e8edf5;
}

.topup-history__head .topup-history__cell {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
}

.topup-history__row {
    padding: 0.85rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.topup-history__row:last-child {
    border-bottom: none;
}

.topup-history__cell {
    min-width: 0;
    color: #0f172a;
    font-size: 0.875rem;
    line-height: 1.4;
}

.topup-history__cell--id strong {
    font-weight: 800;
}

.topup-history__link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.topup-history__link:hover {
    text-decoration: underline;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .account-page__shell {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        border-right: none;
        border-bottom: 1px solid #e8edf5;
    }

    .account-sidebar__card {
        gap: 0;
        padding: 0.75rem;
    }

    .account-sidebar__toggle {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.7rem 0.8rem;
        border: 1px solid #dbe7ff;
        border-radius: 12px;
        background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
        color: #0f172a;
        font: inherit;
        text-align: left;
        cursor: pointer;
        transition:
            border-color var(--transition),
            box-shadow var(--transition),
            background var(--transition);
    }

    .account-sidebar__toggle:hover {
        border-color: #bfdbfe;
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
    }

    .account-sidebar.is-open .account-sidebar__toggle {
        border-color: #93c5fd;
        background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
        box-shadow: 0 10px 24px rgba(59, 130, 246, 0.12);
    }

    .account-sidebar__toggle-leading {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 10px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: #ffffff;
        font-size: 0.9rem;
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
    }

    .account-sidebar__toggle-copy {
        display: flex;
        flex-direction: column;
        gap: 0.12rem;
        min-width: 0;
        flex: 1;
    }

    .account-sidebar__toggle-eyebrow {
        color: #3b82f6;
        font-size: 0.6875rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        line-height: 1.2;
    }

    .account-sidebar__toggle-label {
        color: #0f172a;
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .account-sidebar__toggle-chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 999px;
        background: #eff6ff;
        color: #2563eb;
        font-size: 0.72rem;
        transition: transform 0.25s ease;
    }

    .account-sidebar.is-open .account-sidebar__toggle-chevron {
        transform: rotate(180deg);
    }

    .account-sidebar__panel {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.28s ease;
    }

    .account-sidebar.is-open .account-sidebar__panel {
        grid-template-rows: 1fr;
    }

    .account-sidebar__panel-inner {
        gap: 0.85rem;
        overflow: hidden;
        padding-top: 0;
        opacity: 0;
        transform: translateY(-4px);
        transition:
            opacity 0.22s ease,
            transform 0.22s ease,
            padding-top 0.22s ease;
    }

    .account-sidebar.is-open .account-sidebar__panel-inner {
        padding-top: 0.75rem;
        opacity: 1;
        transform: translateY(0);
    }

    .account-sidebar__intro {
        padding: 0.15rem 0.35rem 0;
    }

    .account-sidebar__list {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .account-sidebar__link {
        flex-direction: row;
        align-items: center;
        gap: 0.7rem;
        min-height: 46px;
        padding: 0.55rem 0.7rem;
        font-size: 0.875rem;
    }

    .account-sidebar__link:hover {
        transform: none;
    }

    .account-sidebar__active-dot {
        display: inline-block;
    }

    .account-page__content {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .profile-page__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-page__topup {
        width: 100%;
    }

    .profile-orders__row--head {
        display: none;
    }

    .profile-orders__row:not(.profile-orders__row--head) {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        padding: 1rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .profile-orders__cell:not(.profile-orders__row--head .profile-orders__cell)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.15rem;
        color: #94a3b8;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .order-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-card__date {
        white-space: normal;
    }

    .order-card__main {
        flex-direction: column;
        align-items: stretch;
    }

    .order-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .order-card__chip {
        justify-content: center;
    }

    .order-card__detail {
        width: 100%;
    }

    .order-progress {
        margin-inline: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .order-progress__label {
        font-size: 0.625rem;
    }

    .order-detail-status__cards {
        grid-template-columns: 1fr;
    }

    .order-detail-grid {
        grid-template-columns: 1fr;
    }

    .order-detail-items__head {
        display: none;
    }

    .order-detail-items__row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
        align-items: start;
    }

    .order-detail-items__cell--price {
        text-align: left;
    }

    .order-detail-items__cell[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        color: #94a3b8;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .support-table__head {
        display: none;
    }

    .support-table__row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        align-items: start;
        padding: 1rem 0;
    }

    .support-table__cell[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.15rem;
        color: #94a3b8;
        font-size: 0.75rem;
        font-weight: 700;
    }

    .support-table__view {
        width: 100%;
    }

    .support-form__actions {
        justify-content: stretch;
    }

    .support-form__submit,
    .support-back-btn {
        width: 100%;
    }

    .support-detail-summary__grid {
        grid-template-columns: 1fr 1fr;
    }

    .support-message {
        max-width: 100%;
    }

    .support-message--user {
        margin-left: 0;
    }

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

    .coupon-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .settings-form__row {
        grid-template-columns: 1fr;
    }

    .settings-form__actions,
    .settings-form__actions--start,
    .settings-notifications__footer {
        justify-content: stretch;
    }

    .settings-form__submit {
        width: 100%;
    }

    .settings-notify-card {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            'icon copy'
            'toggle toggle';
        align-items: start;
    }

    .settings-notify-card__icon {
        grid-area: icon;
    }

    .settings-notify-card__copy {
        grid-area: copy;
    }

    .settings-toggle {
        grid-area: toggle;
        justify-self: end;
        margin-top: 0.35rem;
    }

    .topup-tabs {
        grid-template-columns: 1fr;
    }

    .topup-tabs__btn {
        min-height: 44px;
        padding: 0.5rem 0.65rem;
    }

    .topup-tabs__btn span {
        font-size: 0.8125rem;
        text-align: center;
    }

    .topup-packages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topup-payments {
        grid-template-columns: 1fr;
    }

    .topup-checkout {
        grid-template-columns: 1fr;
    }

    .topup-submit {
        width: 100%;
    }

    .topup-history__head {
        display: none;
    }

    .topup-history__row {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        align-items: start;
    }

    .topup-history__cell[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.15rem;
        color: #94a3b8;
        font-size: 0.75rem;
        font-weight: 700;
    }
}

@media (max-width: 1100px) {
    .topup-packages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topup-payments {
        grid-template-columns: 1fr;
    }
}
