.df-account-shell,
.df-dashboard-hero,
.df-dashboard-notices,
.df-dashboard-grid {
    max-width: var(--container);
    margin: 0 auto;
}

.df-account-layout {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 18px;
    align-items: stretch;
}

.df-account-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    padding: 30px;
    border: 1px solid rgba(45, 28, 15, .12);
    border-radius: 8px;
    background-color: var(--df-account-bg-color, #2d1c0f);
    background-image: var(--df-account-bg-image, none);
    background-position: center;
    background-size: cover;
    color: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.df-account-intro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--df-account-overlay-color, rgba(45, 28, 15, .72));
    opacity: .72;
    pointer-events: none;
}

.df-account-intro > * {
    position: relative;
    z-index: 1;
}


.df-account-intro span,
.df-dashboard-hero span,
.df-account-card-head span,
.df-dashboard-card span {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 800;
}

.df-account-intro span {
    color: #fff;
}

.df-account-intro h1,
.df-dashboard-hero h1 {
    max-width: 760px;
    margin: 8px 0 0;
    color: var(--color-text);
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
}

.df-account-intro h1 {
    color: #fff;
}

.df-account-intro p {
    max-width: 680px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    line-height: 1.6;
}

.df-account-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.df-account-benefits span {
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.df-account-benefits span:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .82);
    outline-offset: 3px;
}

.df-location-combobox {
    position: relative;
}

.df-location-combobox-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow: auto;
    display: none;
    border: 1px solid rgba(45, 28, 15, .14);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.df-location-combobox-menu:not(.is-open),
.df-location-combobox-menu [hidden] {
    display: none !important;
}

.df-location-combobox-menu.is-open {
    display: grid !important;
}

.df-location-combobox-menu button {
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid rgba(45, 28, 15, .08);
    background: #fff;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
}

.df-location-combobox-menu button:hover,
.df-location-combobox-menu button:focus {
    background: rgba(187, 132, 93, .12);
    outline: none;
}

.df-account-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.df-account-notice.is-success {
    background: #ecfdf3;
    color: #17663a;
}

.df-account-notice.is-error {
    background: #fff1f0;
    color: #a13226;
}

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

.df-account-card,
.df-dashboard-card {
    border: 1px solid rgba(45, 28, 15, .12);
    border-radius: 8px;
    background: rgba(255, 250, 246, .88);
    box-shadow: var(--shadow-soft);
}

.df-account-card {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 22px;
}

.df-account-card-head h2,
.df-dashboard-card h2 {
    margin: 4px 0 0;
    color: var(--color-text);
    font-size: 24px;
    line-height: 1.15;
}

.df-account-card label {
    display: grid;
    gap: 7px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 800;
}

.df-account-card input[type="text"],
.df-account-card input[type="email"],
.df-account-card input[type="password"],
.df-profile-form input[type="text"],
.df-profile-form input[type="email"],
.df-profile-form input[type="tel"],
.df-profile-form input[type="password"],
.df-profile-form input[type="file"],
.df-host-submit-form input,
.df-host-submit-form select,
.df-host-submit-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 38px;
    padding: 7px 10px;
    border: 1px solid rgba(45, 28, 15, .14);
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
    color: var(--color-text);
    font-family: inherit;
    font-size: 14px;
}

.df-account-check {
    display: flex !important;
    grid-template-columns: none;
    flex-direction: row;
    align-items: center;
    gap: 9px !important;
    color: var(--color-muted) !important;
}

.df-account-text-link {
    width: fit-content;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.df-account-text-link:hover,
.df-account-text-link:focus {
    text-decoration: underline;
}

.df-account-choice {
    display: grid;
    gap: 9px;
}

.df-account-choice label {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(45, 28, 15, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .50);
    cursor: pointer;
}

.df-account-choice label:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(187, 132, 93, .12);
}

.df-account-choice strong,
.df-account-choice em {
    display: block;
}

.df-account-choice em {
    margin-top: 3px;
    color: var(--color-muted);
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.df-account-card button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.df-account-card button:hover {
    background: var(--color-primary-dark);
}
