.wyndham-dashboard-wrapper {
    padding: 32px 16px;
}

/*
 * Topbar
 */
.wyndham-dashboard-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin-bottom: 24px;
}

/* Назад */
.wyndham-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    width: 24px;
    height: 24px;
}

.wyndham-icon-link::before {
    content: "";
    position: absolute;
    inset: 0;
}

.wyndham-dashboard-back {
    white-space: nowrap;
    background: url("../icons/chevron-left.png") center / 6px 12px no-repeat;
}

/* Заголовок рядом с "Назад" */
.wyndham-page-title {
    color: var(--dark-grey);
    margin-left: 4px;
}

.wyndham-page-title h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

/* Logout уходит вправо */
.wyndham-dashboard-logout {
    margin-left: auto;
    background: url("../icons/log-out.png") center / 18px 18px no-repeat;
}



/*
 * Dashboard menu
*/
.wyndham-dashboard-menu {
    position: relative;
    overflow: hidden; /* важно — чтобы фон/границы не вылезали */
}

/* gradient */
.wyndham-dashboard-menu::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 24px;
    height: 100%;
    pointer-events: none;

    background: linear-gradient(
            to left,
            #fff,
            rgba(255, 255, 255, 0)
    );
}

.wyndham-menu-list {
    display: flex;
    gap: 8px;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;
    -webkit-overflow-scrolling: touch;

    padding: 8px 16px;
    margin: 0;
    list-style: none;

    scrollbar-width: none; /* Firefox */
}

.wyndham-menu-list::-webkit-scrollbar {
    display: none; /* Chrome / Safari */
}

.wyndham-menu-item {
    flex-shrink: 0; /* 🔥 ОБЯЗАТЕЛЬНО */
}

.wyndham-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 8px 14px;
    border-radius: 999px;

    background: #f3f3f3;
    color: #333;

    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.wyndham-menu-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.wyndham-menu-item.active .wyndham-menu-link {
    background: #fff;
    box-shadow: 0 0 0 1px #e0e0e0;
}


/*
 * Profile Form
 */

.wyndham-profile-form-wrapper {
    padding: 16px;
    border-radius: 32px;
    background: var(--card-bg);
}

.wyndham-form-title,
.wyndham-data-title {
    font-family: Montserrat, "Helvetica Neue", sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 12px;
}

.wyndham-form-group {
    margin-bottom: 8px;
}

.wyndham-form-group label {
    display: none;
}

/*  Avatar Uploader */
.wyndham-avatar-upload {
    margin-bottom: 32px;
}
.wyndham-avatar-preview {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 32px;
    overflow: hidden;
    background: #eaeaea;
    cursor: pointer;
}

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

/* overlay */
.wyndham-avatar-actions {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;

    display: flex;
    gap: 8px;

    opacity: 0;
    transition: opacity 0.25s ease;
}

.wyndham-avatar-preview:hover .wyndham-avatar-actions {
    opacity: 1;
}

.wyndham-avatar-actions button {
    flex: 1;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(0,0,0,0.35);
    color: #fff;
    backdrop-filter: blur(6px);
    cursor: pointer;
    font-size: 14px;
}

/* input реально скрыт */
.wyndham-file-input {
    display: none;
}


/* Input fields */
.wyndham-input {
    color: var(--dark-grey);
    padding: 18px 32px;
    background: var(--input);
    border: 1px solid var(--ecru-60);
    border-radius: 100px;
}
.wyndham-input::placeholder {
    color: var(--medium-grey);
}

.wyndham-form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}