/* ==========================================================================
   My Golfasian Portal — shared stylesheet
   Used by both /travel/my-golfasian/* pages AND /travel/rewards/* pages
   ========================================================================== */

:root {
    --rewards-green: #0f9449;
    --rewards-green-dark: #0c763b;
    --rewards-hero: #0d1707;
    --rewards-gold: #fdcf50;
    --rewards-text: #333333;
    --rewards-surface: #ffffff;
    --rewards-surface-soft: #f7f5f5;
    --rewards-border: rgba(15, 148, 73, 0.16);
    --rewards-shadow: 0 18px 38px rgba(13, 23, 7, 0.12);
}

* {
    box-sizing: border-box;
    font-size: 100%;
}

html,
body,
input,
select,
button,
textarea {
    font-family: Inter, "Open Sans", Arial, sans-serif;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

h1, h2, h3, h4, h5, h6,
p, span, a, label, strong, div, li {
    text-shadow: none;
}

body {
    font-size: 100%;
    margin: 0;
    color: var(--rewards-text);
    background:
        radial-gradient(circle at top right, rgba(253, 207, 80, 0.18), transparent 26%),
        radial-gradient(circle at top left, rgba(15, 148, 73, 0.08), transparent 24%),
        linear-gradient(180deg, #f7f5f2 0%, #f2f4ee 100%);
}

body.crop-modal-open {
    overflow: hidden;
}

/* ==========================================================================
   Top header + nav tabs
   ========================================================================== */

.top-header {
    background: #080808;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    padding: 18px 0 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header,
.top-header *,
.hero,
.hero *,
.customer-card,
.customer-card *,
.row-head,
.row-head *,
.row-item,
.row-item *,
.profile-edit-link,
.logout-link,
.auth-card,
.auth-card *,
.btn-primary,
.btn-secondary,
.text-link,
.cus_rwd_button,
.cus_rwd_title,
.customer-name,
.customer-detail,
.top-header-user-name,
.top-header-user-email,
.hero-kicker,
.hero-title,
.hero-subtitle,
.auth-title,
.auth-copy,
.inline-note,
.row-item-block,
.stat-label,
.stat-value,
.stat-unit,
.portal-nav-link,
.portal-nav-link *,
.dash-card,
.dash-card * {
    text-shadow: none !important;
    filter: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px 18px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.img_logo {
    width: 200px;
    max-width: 100%;
}

.user-info {
    text-align: right;
    color: #ffffff;
}

.top-header-user-name {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.top-header-user-email {
    font-size: 13px;
    color: #ffffff;
}

.app-store-link,
.ios-app-banner-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    white-space: nowrap;
}

.top-header-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.app-store-link {
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.app-store-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
    border-color: rgba(253, 207, 80, 0.42);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(253, 207, 80, 0.12) 100%);
}

.app-store-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.profile-edit-link,
.logout-link,
.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
}

.profile-edit-link,
.back-link {
    background: linear-gradient(135deg, var(--rewards-green) 0%, #16a34a 100%);
    color: #ffffff;
    border: 1px solid rgba(15, 148, 73, 0.72);
    box-shadow: 0 10px 22px rgba(15, 148, 73, 0.18);
}

.logout-link {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.portal-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.portal-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.portal-nav-link:hover {
    color: #ffffff;
}

.portal-nav-link.is-active {
    color: #ffffff;
    border-bottom-color: var(--rewards-gold);
}

.portal-nav-link .tab-icon {
    font-size: 15px;
    line-height: 1;
}

/* ==========================================================================
   Main container + hero
   ========================================================================== */

.main_div {
    background: none;
    margin: 0 auto;
    max-width: 1140px;
    padding: 24px 20px 40px 20px;
}

.ios-app-banner,
.android-app-banner {
    display: block;
    max-width: 1140px;
    margin: 18px auto 0 auto;
    padding: 0 20px;
}

.ios-app-banner[hidden],
.android-app-banner[hidden] {
    display: none !important;
}

.ios-app-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border-radius: 22px;
    background:
        linear-gradient(0deg, rgba(13, 23, 7, 0.86), rgba(13, 23, 7, 0.86)),
        linear-gradient(135deg, #10210d 0%, #173117 52%, #0f9449 100%);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 34px rgba(13, 23, 7, 0.18);
    color: #ffffff;
}

.ios-app-banner-copy {
    min-width: 0;
}

.ios-app-banner-kicker {
    margin: 0 0 6px 0;
    color: rgba(253, 207, 80, 0.96);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ios-app-banner-title {
    margin: 0 0 4px 0;
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.05;
    color: #ffffff;
}

.ios-app-banner-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.ios-app-banner-button {
    flex: 0 0 auto;
    padding: 13px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fdcf50 0%, #f9d870 100%);
    color: #1a1a1a;
    border: 1px solid rgba(253, 207, 80, 0.55);
    box-shadow: 0 12px 24px rgba(253, 207, 80, 0.22);
    font-size: 14px;
    font-weight: 600;
}

.hero {
    background:
        linear-gradient(0deg, rgba(13, 23, 7, 0.72), rgba(13, 23, 7, 0.72)),
        radial-gradient(circle at 82% 30%, rgba(253, 207, 80, 0.18), transparent 18%),
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.08), transparent 22%),
        linear-gradient(135deg, #10210d 0%, #173117 45%, #0f9449 100%);
    border-radius: 32px;
    padding: 58px 52px;
    color: white;
    margin-bottom: 34px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 26px 48px rgba(13, 23, 7, 0.22);
}

.hero.hero-dashboard::before {
    content: '\26F3';
    position: absolute;
    font-size: 220px;
    opacity: 0.10;
    right: 36px;
    top: -20px;
    transform: rotate(4deg);
}

.hero.hero-rewards::before {
    content: '\26F3';
    position: absolute;
    font-size: 220px;
    opacity: 0.10;
    right: 36px;
    top: -20px;
    transform: rotate(4deg);
}

.hero.hero-profile::before {
    content: 'Profile';
    position: absolute;
    right: 24px;
    top: 12px;
    font-size: 78px;
    line-height: 1;
    opacity: 0.10;
    font-weight: 500;
}

.hero.hero-bookings::before {
    content: '\2708';
    position: absolute;
    font-size: 200px;
    opacity: 0.10;
    right: 36px;
    top: -10px;
    transform: rotate(-12deg);
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto -80px -120px auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 68%);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    position: relative;
}

.hero-title {
    font-family: "Poltawski Nowy", Georgia, 'Times New Roman', serif;
    font-size: 58px;
    font-weight: 500;
    margin: 0 0 12px 0;
    position: relative;
    letter-spacing: -0.02em;
}

.hero-accent {
    color: var(--rewards-gold);
}

.hero-subtitle {
    font-size: 20px;
    margin: 0;
    position: relative;
    max-width: 760px;
    line-height: 1.5;
    color: #ffffff;
}

/* ==========================================================================
   Rewards bar, blocks, table
   ========================================================================== */

.cus_rwd_bar {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cus_rwd_block {
    border: 1px solid rgba(15, 148, 73, 0.10);
    padding: 0;
    border-radius: 24px;
    margin: 0 0 18px 0;
    width: 100%;
    box-shadow: var(--rewards-shadow);
    padding-bottom: 8px;
    background: var(--rewards-surface);
    overflow: hidden;
}

.cus_rwd_button {
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--rewards-green) 0%, #16a34a 100%);
    border-radius: 999px;
    border: 1px solid rgba(12, 118, 59, 0.65);
    box-shadow: 0 12px 26px rgba(15, 148, 73, 0.24);
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    color: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cus_rwd_button:hover {
    background: linear-gradient(135deg, var(--rewards-green-dark) 0%, #10813f 100%);
    border: 1px solid rgba(12, 118, 59, 0.9);
    box-shadow: 0 14px 28px rgba(15, 148, 73, 0.28);
    transform: translateY(-1px);
}

.cus_rwd_title {
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 500;
    color: #16210f;
    margin: 10px 0 0 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--rewards-gold);
    display: inline-block;
}

.customer-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(252,251,247,0.98) 100%);
    border-radius: 26px;
    padding: 30px 34px;
    margin-bottom: 30px;
    box-shadow: var(--rewards-shadow);
    border: 1px solid rgba(15, 148, 73, 0.14);
    border-left: 6px solid var(--rewards-green);
    position: relative;
    overflow: hidden;
}

.customer-card::after {
    content: 'Member';
    position: absolute;
    top: 18px;
    right: 22px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(253, 207, 80, 0.18);
    color: #6c5200;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.customer-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.customer-detail {
    font-size: 14px;
    color: #5f665a;
}

.customer-name {
    font-family: "Poltawski Nowy", Georgia, 'Times New Roman', serif;
    font-size: 31px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.program-guide {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(251,249,244,0.98) 100%);
    border-radius: 26px;
    padding: 30px 32px;
    margin-bottom: 28px;
    box-shadow: var(--rewards-shadow);
    border: 1px solid rgba(15, 148, 73, 0.12);
}

.program-guide-title {
    margin: 0 0 10px 0;
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
    color: #16210f;
}

.program-guide-copy {
    margin: 0 0 22px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4c5548;
}

.program-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.program-guide-card {
    background: linear-gradient(180deg, #fbfcf8 0%, #f3f6ef 100%);
    border: 1px solid rgba(15, 148, 73, 0.12);
    border-radius: 20px;
    padding: 22px 20px;
}

.program-guide-card-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f3d22;
}

.program-guide-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #4c5548;
}

#lgo_part {
    margin: 3px 0;
}

.row-item-block {
    flex: 1;
    text-align: center;
}

.row-head, .row-item {
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding: 10px;
    font-size: 14px;
}

.cus_rwd_table_wrap {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.row-head {
    background: linear-gradient(180deg, #eef5ef 0%, #e0ece3 100%);
    font-weight: 500;
    border-radius: 16px 16px 0 0;
    margin-bottom: 6px;
    color: #244223;
    letter-spacing: 0.04em;
}

.row-item {
    border-top: 1px solid #ebeee7;
    align-items: center;
    background: white;
}

.row-item:nth-child(even) {
    background: #fbfbf8;
}

.cus_rwd_table_wrap .row-head,
.cus_rwd_table_wrap .row-item {
    min-width: 980px;
}

/* ==========================================================================
   Stat grid + stat cards
   ========================================================================== */

.stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,248,245,0.98) 100%);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--rewards-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(15, 148, 73, 0.12);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-card.featured {
    background: linear-gradient(135deg, #f9d870 0%, #fdcf50 55%, #ffe8a9 100%);
    position: relative;
}

.stat-card.featured::after {
    content: '\2605';
    position: absolute;
    font-size: 80px;
    opacity: 0.15;
    right: 20px;
    top: 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-expired {
    background: linear-gradient(135deg, #fff8f8 0%, #fff2f2 100%);
    border-color: #f3d6d6;
}

.stat-earned {
    background: linear-gradient(135deg, #f1f8f2 0%, #eaf6ec 100%);
    border-color: #cfe3d3;
}

.stat-redeemed {
    background: linear-gradient(135deg, #f7f5f5 0%, #efefef 100%);
    border-color: #dfdddd;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #536049;
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-value {
    font-family: "Poltawski Nowy", Georgia, 'Times New Roman', serif;
    font-size: 44px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1;
}

.stat-unit {
    font-size: 16px;
    color: #5f665a;
    margin-top: 7px;
}

/* ==========================================================================
   Status tags (used by rewards table AND booking status badges)
   ========================================================================== */

.tag_available, .tag_expired, .tag_r_complete, .tag_r_partly,
.tag_confirmed, .tag_pending, .tag_cancelled {
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 50px;
    color: #333333;
    min-width: 140px;
    display: inline-block;
    text-align: center;
}

.tag_available,
.tag_confirmed {
    background-color: #e4f6eb;
    border-color: #b9e1c8;
    color: #156736;
}

.tag_expired,
.tag_cancelled {
    background-color: #ffd7d7;
    border-color: #efb3b3;
    color: #8d2626;
}

.tag_r_complete {
    background-color: #dce7ff;
    border-color: #bcccf0;
    color: #36508f;
}

.tag_r_partly,
.tag_pending {
    background-color: #d8efff;
    border-color: #b6dbef;
    color: #215c84;
}

/* ==========================================================================
   Auth card + forms (rewards signin/register)
   ========================================================================== */

.the_link {
    font-weight: 500;
    color: #0000dd;
    text-decoration: none;
    cursor: pointer;
}

.rewards_notice_empty {
    margin: 0 0 22px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fff8e8 0%, #fff4d3 100%);
    border: 1px solid #f0dc95;
    border-left: 6px solid var(--rewards-gold);
    border-radius: 16px;
    color: #654e00;
    font-size: 16px;
    line-height: 1.7;
    box-shadow: 0 10px 24px rgba(253, 207, 80, 0.14);
}

.rewards_notice_link {
    color: var(--rewards-green-dark);
    font-weight: 500;
    text-decoration: underline;
}

.auth-shell {
    max-width: 560px;
    margin: 0 auto 30px auto;
}

.auth-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(251,249,244,0.98) 100%);
    border-radius: 26px;
    padding: 34px;
    box-shadow: var(--rewards-shadow);
    border: 1px solid rgba(15, 148, 73, 0.12);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--rewards-green) 0%, var(--rewards-gold) 100%);
}

.auth-kicker {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6e5b15;
    margin: 0 0 12px 0;
}

.auth-title {
    font-family: "Poltawski Nowy", Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.auth-copy {
    font-size: 16px;
    line-height: 1.6;
    color: #3f3f3f;
    margin: 0 0 26px 0;
}

.auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -6px 0 22px 0;
}

.auth-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f7f4e8;
    border: 1px solid #ecd98c;
    color: #5e4d11;
    font-size: 13px;
    font-weight: 500;
}

.auth-benefit::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rewards-green) 0%, var(--rewards-gold) 100%);
    flex: 0 0 8px;
}

.form-row {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #214f29;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    border: 1px solid #d8ddcf;
    background: #fdfcf8;
    border-radius: 14px;
    padding: 15px 16px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--rewards-green);
    box-shadow: 0 0 0 4px rgba(15, 148, 73, 0.12);
}

.auth-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary,
.btn-secondary,
.text-link {
    appearance: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary,
.btn-secondary {
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rewards-green) 0%, #15a04d 100%);
    color: white;
    box-shadow: 0 12px 24px rgba(15, 148, 73, 0.22);
}

.btn-secondary {
    background: #ffffff;
    color: #214f29;
    border: 1px solid #d7ddcf;
}

.text-link {
    background: none;
    padding: 0;
    color: var(--rewards-green-dark);
    font-size: 14px;
    font-weight: 500;
}

.inline-note {
    margin-top: 16px;
    font-size: 14px;
    color: #3f3f3f;
}

.alert {
    display: none;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.alert.show {
    display: block;
}

.alert.info,
.alert.success {
    background: #edf8f1;
    border: 1px solid #c7e6d2;
    color: #1f6735;
}

.alert.error {
    background: #fff1f1;
    border: 1px solid #f0c3c3;
    color: #932f2f;
}

#rewards_part {
    min-height: 80px;
}

#msg_txt {
    padding: 18px;
    border-radius: 18px;
    background: white;
    color: #5c5c5c;
    box-shadow: var(--rewards-shadow);
    border: 1px solid rgba(15, 148, 73, 0.10);
}

/* ==========================================================================
   Profile edit page layout
   ========================================================================== */

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.profile-card,
.help-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(251,249,244,0.98) 100%);
    border-radius: 24px;
    box-shadow: var(--rewards-shadow);
    border: 1px solid rgba(15, 148, 73, 0.12);
}

.profile-card {
    padding: 30px;
}

.help-card {
    padding: 24px;
    position: sticky;
    top: 18px;
    border-top: 4px solid var(--rewards-gold);
}

.delete-account-panel {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(147, 47, 47, 0.16);
}

.delete-account-label {
    margin: 0 0 10px 0;
    color: #932f2f;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.delete-account-copy {
    margin: 0 0 18px 0;
    color: #6a5d5d;
    font-size: 13px;
    line-height: 1.7;
}

.delete-account-button {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px solid #f0c3c3;
    background: #fff1f1;
    color: #932f2f;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
}

.delete-account-button:hover {
    background: #ffe8e8;
}

.card-title {
    margin: 0 0 8px 0;
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

.card-copy {
    margin: 0 0 22px 0;
    color: #5c5c5c;
    line-height: 1.6;
    font-size: 15px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.field.full {
    grid-column: 1 / -1;
}

.profile-photo-field {
    display: grid;
    grid-template-columns: 132px minmax(320px, 520px);
    gap: 20px;
    align-items: start;
    padding: 20px 22px;
    border: 1px solid #e3e0d6;
    border-radius: 20px;
    background: linear-gradient(180deg, #fcfbf8 0%, #f7f4ec 100%);
    box-shadow: 0 12px 30px rgba(48, 42, 27, 0.08);
}

.profile-photo-preview {
    width: 132px;
    height: 132px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #173117 0%, #0f9449 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 148, 73, 0.14);
    box-shadow: 0 12px 26px rgba(13, 23, 7, 0.12);
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-photo-placeholder {
    color: #ffffff;
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 46px;
    font-weight: 500;
    line-height: 1;
}

.profile-photo-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
    padding-top: 2px;
}

.profile-photo-controls input[type="file"] {
    display: block;
    width: 100%;
    max-width: 420px;
    padding: 12px 14px;
    border: 1px solid #d8ddcf;
    border-radius: 14px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
}

.profile-photo-controls .field-note,
.profile-photo-status {
    max-width: 420px;
}

.profile-photo-remove {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: #4d5348;
    font-size: 14px;
    font-weight: 500;
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    white-space: normal;
    line-height: 1.4;
}

.profile-photo-remove input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
}

.profile-photo-remove span {
    display: inline-block;
}

.profile-photo-status {
    min-height: 20px;
    margin-top: 10px;
    color: #4d5348;
    font-size: 13px;
    line-height: 1.5;
}

.crop-modal[hidden] {
    display: none;
}

.crop-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.crop-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 23, 7, 0.72);
}

.crop-modal-dialog {
    position: relative;
    width: min(92vw, 680px);
    margin: 4vh auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(251,249,244,0.98) 100%);
    border: 1px solid rgba(15, 148, 73, 0.12);
    border-radius: 26px;
    box-shadow: 0 28px 56px rgba(13, 23, 7, 0.24);
    padding: 24px;
}

.crop-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.crop-modal-title {
    margin: 0;
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
    color: #16210f;
}

.crop-modal-close {
    appearance: none;
    border: 1px solid #d8ddcf;
    background: #ffffff;
    color: #214f29;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.crop-modal-copy {
    margin: 10px 0 18px 0;
    color: #4c5548;
    font-size: 15px;
    line-height: 1.6;
}

.crop-stage-wrap {
    display: flex;
    justify-content: center;
}

.crop-stage {
    position: relative;
    width: min(78vw, 420px);
    height: min(78vw, 420px);
    max-width: 420px;
    max-height: 420px;
    border-radius: 24px;
    overflow: hidden;
    background: #0d1707;
    cursor: move;
    touch-action: none;
    user-select: none;
}

.crop-stage img {
    position: absolute;
    max-width: none;
    max-height: none;
    left: 0;
    top: 0;
}

.crop-frame {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    box-shadow: inset 0 0 0 999px rgba(13, 23, 7, 0.22);
    pointer-events: none;
}

.crop-controls {
    margin-top: 18px;
}

.crop-controls label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #214f29;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.crop-controls input[type="range"] {
    width: 100%;
}

.crop-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #214f29;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.field input,
.field select {
    width: 100%;
    border: 1px solid #d8ddcf;
    border-radius: 14px;
    background: #fdfcf8;
    padding: 14px 15px;
    font-size: 16px;
    color: #1a1a1a;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--rewards-green);
    box-shadow: 0 0 0 4px rgba(15, 148, 73, 0.12);
}

.field-note {
    margin-top: 7px;
    color: #717171;
    font-size: 13px;
    line-height: 1.5;
}

.phone-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.2fr);
    gap: 14px;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.interest-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 15px;
    border-radius: 14px;
    background: #f7f4e8;
    border: 1px solid #ecd98c;
    color: #2a3425;
    line-height: 1.5;
    cursor: pointer;
}

.interest-option input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0 0;
    flex: 0 0 18px;
}

.interest-text {
    font-size: 14px;
    font-weight: 500;
}

.read-only {
    background: #f2f1eb !important;
    color: #55604b !important;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 500;
    margin-top: 14px;
    background: linear-gradient(135deg, #f9d870 0%, var(--rewards-gold) 100%);
    color: #5d4a00;
    padding: 12px 18px;
    border: 1px solid #e4c65c;
}

.help-list {
    margin: 0;
    padding-left: 18px;
    color: #5c5c5c;
    line-height: 1.7;
    font-size: 15px;
}

/* ==========================================================================
   DASHBOARD (My Golfasian)
   ========================================================================== */

.dash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

.dash-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(252,251,247,0.98) 100%);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--rewards-shadow);
    border: 1px solid rgba(15, 148, 73, 0.14);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dash-card.dash-card-points {
    border-left: 6px solid var(--rewards-green);
}

.dash-card.dash-card-trip {
    border-left: 6px solid var(--rewards-gold);
}

.dash-card.dash-card-profile {
    border-left: 6px solid #6aa8d4;
}

.dash-card.dash-card-links {
    border-left: 6px solid #b49cd4;
}

.planner-card-dashboard {
    grid-column: 1 / -1;
}

.dash-card-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #536049;
    margin: 0 0 14px 0;
    font-weight: 500;
}

.dash-card-title {
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.dash-card-subtitle {
    font-size: 14px;
    color: #5f665a;
    margin: 0 0 18px 0;
    line-height: 1.6;
}

.dash-points-big {
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 56px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1;
    margin: 6px 0 4px 0;
}

.dash-points-unit {
    font-size: 14px;
    color: #5f665a;
    margin-bottom: 18px;
}

.dash-tier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.dash-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5d4a00;
    background: linear-gradient(135deg, #f9d870 0%, var(--rewards-gold) 100%);
    border: 1px solid #e4c65c;
}

.dash-tier-badge.tier-bronze {
    background: linear-gradient(135deg, #d7a07a 0%, #c48457 100%);
    border-color: #a76a3f;
    color: #3a1f0a;
}

.dash-tier-badge.tier-silver {
    background: linear-gradient(135deg, #e5e5e5 0%, #c8c8c8 100%);
    border-color: #a9a9a9;
    color: #2a2a2a;
}

.dash-tier-badge.tier-gold {
    background: linear-gradient(135deg, #f9d870 0%, var(--rewards-gold) 100%);
    border-color: #e4c65c;
    color: #5d4a00;
}

.dash-tier-badge.tier-platinum {
    background: linear-gradient(135deg, #e5ecf5 0%, #b3c4d9 100%);
    border-color: #8ea5bf;
    color: #1f2a3a;
}

.dash-tier-progress {
    font-size: 12px;
    color: #5f665a;
}

.dash-progress-bar {
    height: 10px;
    background: #ece9df;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 16px;
}

.dash-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--rewards-green) 0%, var(--rewards-gold) 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.dash-card-cta {
    margin-top: auto;
}

.dash-trip-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    margin: 6px 0 18px 0;
}

.dash-trip-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6a7263;
    font-weight: 500;
}

.dash-trip-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    margin-top: 3px;
}

.dash-trip-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 148, 73, 0.10);
    color: var(--rewards-green-dark);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.dash-missing-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.dash-missing-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f7f4e8;
    border: 1px solid #ecd98c;
    color: #5e4d11;
    font-size: 12px;
    font-weight: 500;
}

.dash-links-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 4px;
}

.dash-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfcf8 0%, #f3f6ef 100%);
    border: 1px solid rgba(15, 148, 73, 0.12);
    color: #1f3d22;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dash-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 148, 73, 0.12);
}

.dash-link-icon {
    font-size: 18px;
}

.planner-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(253, 207, 80, 0.22), transparent 24%),
        radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.08), transparent 26%),
        linear-gradient(135deg, #143515 0%, #0f5d2c 56%, #12984a 100%);
    border-radius: 30px;
    padding: 28px 28px 30px 28px;
    color: #ffffff;
    box-shadow: 0 24px 40px rgba(13, 23, 7, 0.18);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.planner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.10), transparent 22%);
    pointer-events: none;
}

.planner-card::after {
    content: '';
    position: absolute;
    top: -10px;
    right: -6px;
    width: 122px;
    height: 148px;
    border: 8px solid rgba(253, 207, 80, 0.20);
    border-right: none;
    border-bottom: none;
    border-radius: 0 34px 0 0;
    pointer-events: none;
}

.planner-card-bookings {
    margin-top: 18px;
}

.planner-card-kicker,
.planner-card-title,
.planner-card-copy,
.planner-card-button {
    position: relative;
    z-index: 1;
}

.planner-card-kicker {
    display: inline-block;
    margin: 0 0 16px 0;
    color: var(--rewards-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.planner-card-title {
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 54px;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin: 0 0 16px 0;
    color: #ffffff;
    max-width: 520px;
}

.planner-card-copy {
    margin: 0 0 24px 0;
    max-width: 470px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.90);
}

.planner-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fddc72 0%, #fdcf50 100%);
    color: #23411e;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.planner-card-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
    filter: brightness(1.02);
}

.planner-card-button span {
    font-size: 17px;
    line-height: 1;
}

/* ==========================================================================
   MY BOOKINGS PAGE
   ========================================================================== */

.bookings-section {
    margin-bottom: 32px;
}

.bookings-section-title {
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 500;
    color: #16210f;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--rewards-gold);
    display: inline-block;
}

.booking-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.booking-row {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(252,251,247,0.98) 100%);
    border-radius: 20px;
    padding: 22px 26px;
    box-shadow: var(--rewards-shadow);
    border: 1px solid rgba(15, 148, 73, 0.12);
    border-left: 5px solid var(--rewards-green);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.booking-row-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.booking-row-name {
    font-family: "Poltawski Nowy", Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.3;
    flex: 1 1 auto;
    min-width: 200px;
}

.booking-row-code {
    font-family: "Courier New", Consolas, monospace;
    font-size: 13px;
    font-weight: 500;
    color: #214f29;
    background: #f7f4e8;
    border: 1px solid #ecd98c;
    border-radius: 999px;
    padding: 6px 14px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.booking-row-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 22px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 148, 73, 0.12);
}

.booking-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.booking-meta-item-wide {
    grid-column: span 2;
}

.booking-meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6a7263;
    font-weight: 500;
}

.booking-meta-value {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    word-break: break-word;
}

.bookings-empty {
    padding: 28px 26px;
    background: linear-gradient(135deg, #fff8e8 0%, #fff4d3 100%);
    border: 1px solid #f0dc95;
    border-left: 6px solid var(--rewards-gold);
    border-radius: 16px;
    color: #654e00;
    font-size: 15px;
    line-height: 1.7;
    box-shadow: 0 10px 24px rgba(253, 207, 80, 0.14);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

    .cus_rwd_bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .cus_rwd_block {
        width: 100%;
    }

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

    .planner-card-title {
        font-size: 46px;
    }
}

@media (max-width: 980px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .help-card {
        position: static;
    }
}

@media (max-width: 854px) {
    .header-content {
        padding: 0 18px 16px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .user-info {
        text-align: left;
    }

    .top-header-actions {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
    }

    .profile-edit-link,
    .back-link,
    .logout-link {
        flex: 1;
    }

    .portal-nav {
        padding: 0 18px;
    }

    .portal-nav-link {
        padding: 14px 14px;
        font-size: 13px;
    }

    .main_div {
        padding: 16px;
    }

    .ios-app-banner,
    .android-app-banner {
        padding: 0 16px;
        margin-top: 14px;
    }

    .ios-app-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 18px;
        border-radius: 20px;
    }

    .ios-app-banner-title {
        font-size: 24px;
    }

    .ios-app-banner-button {
        width: 100%;
    }

    .hero {
        padding: 32px 24px;
        border-radius: 22px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.05;
    }

    .hero-kicker {
        font-size: 10px;
        letter-spacing: 0.18em;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.55;
    }

    .auth-card {
        padding: 24px 20px;
    }

    .auth-kicker {
        font-size: 11px;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }

    .auth-benefits {
        gap: 8px;
        margin-bottom: 18px;
    }

    .auth-benefit {
        font-size: 12px;
        padding: 8px 10px;
    }

    .top-header {
        padding: 16px 0 0 0;
    }

    .top-header-user-name,
    .top-header-user-email {
        word-break: break-word;
    }

    .customer-card {
        padding: 22px 18px;
        margin-bottom: 22px;
    }

    .customer-card::after {
        top: 16px;
        right: 18px;
        font-size: 10px;
        padding: 5px 10px;
    }

    .customer-details {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .customer-name {
        font-size: 24px;
        line-height: 1.1;
    }

    .program-guide {
        padding: 22px 18px;
        margin-bottom: 22px;
    }

    .program-guide-title {
        font-size: 24px;
    }

    .program-guide-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .customer-detail {
        font-size: 13px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 22px;
    }

    .stat-card {
        padding: 24px 22px;
    }

    .stat-label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .stat-value {
        font-size: 30px;
    }

    .stat-unit {
        font-size: 13px;
    }

    .cus_rwd_title {
        font-size: 16px;
        margin: 8px 0 0 0;
        width: 100%;
    }

    .cus_rwd_button {
        width: 100%;
        text-align: center;
        padding: 11px 16px;
        font-size: 14px;
    }

    .rewards_notice_empty {
        padding: 16px 16px;
        font-size: 14px;
    }

    .cus_rwd_table_wrap {
        overflow: visible;
    }

    .cus_rwd_table_wrap .row-head {
        display: none;
    }

    .cus_rwd_table_wrap .row-item {
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0 10px 12px 10px;
        padding: 14px;
        border: 1px solid #ececec;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    }

    .row-item-block {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .row-item-block::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #66735f;
        flex: 0 0 42%;
    }

    .tag_available,
    .tag_expired,
    .tag_r_complete,
    .tag_r_partly,
    .tag_confirmed,
    .tag_pending,
    .tag_cancelled {
        text-align: center;
        font-size: 12px;
        min-width: 112px;
    }

    .profile-card,
    .help-card {
        padding: 22px 18px;
    }

    .card-title {
        font-size: 24px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .profile-photo-field {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .profile-photo-controls {
        max-width: 100%;
    }

    .profile-photo-controls input[type="file"],
    .profile-photo-controls .field-note,
    .profile-photo-status {
        max-width: 100%;
    }

    .crop-modal-dialog {
        width: calc(100vw - 24px);
        margin: 12px auto;
        padding: 18px;
    }

    .crop-stage {
        width: min(84vw, 360px);
        height: min(84vw, 360px);
    }

    .crop-modal-actions {
        flex-direction: column;
    }

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

    .interest-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary,
    .help-link {
        width: 100%;
    }

    .dash-points-big {
        font-size: 44px;
    }

    .dash-card {
        padding: 24px 22px;
    }

    .planner-card {
        border-radius: 24px;
        padding: 24px 22px 26px 22px;
    }

    .planner-card::after {
        width: 94px;
        height: 118px;
        border-width: 7px;
    }

    .planner-card-title {
        font-size: 38px;
        max-width: 100%;
    }

    .planner-card-copy {
        max-width: 100%;
        font-size: 15px;
    }

    .planner-card-button {
        width: auto;
    }

    .dash-links-list {
        grid-template-columns: 1fr;
    }

    .booking-cards {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 20px 22px;
    }
}

@media (max-width: 560px) {
    .planner-card-title {
        font-size: 30px;
        line-height: 1.12;
    }

    .planner-card-button {
        width: 100%;
    }
}
