* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #1d252d;
    background: #eef3f8;
}

.hesperia-editor {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(29, 37, 45, .08), rgba(29, 37, 45, 0) 260px),
        #eef3f8;
    padding: 24px 14px 34px;
    font-family: system-ui, -apple-system, sans-serif;
}

.hesperia-container {
    max-width: 980px;
    margin: 0 auto;
}

.hesperia-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 34px rgba(29, 37, 45, .08);
    backdrop-filter: blur(8px);
}

.hesperia-header h1 {
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 6px;
    color: #111827;
}

.hesperia-header p {
    font-size: 14px;
    color: #667085;
    margin: 0;
}

.hesperia-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.hesperia-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    color: #1d252d;
    border: 1px solid #dbe4ef;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.hesperia-actions a.is-active {
    background: #1a73e8;
    color: #fff;
}

.editor-language-switch {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
    margin: 2px 0 0;
    padding: 10px;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #f8fafc;
    text-align: left;
}

.editor-language-switch > span {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.editor-language-switch > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.editor-language-switch a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #f8fafc;
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.editor-language-switch a.is-active {
    border-color: #1a73e8;
    background: #1a73e8;
    color: #fff;
}

.hesperia-card {
    margin: 0 auto 40px;
    background: #fff;
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(29, 37, 45, .1);
    border: 1px solid #dbe4ef;
}

.acf-tab-wrap {
    margin: -6px -6px 22px;
    padding: 6px 6px 0;
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid #e4e7ec;
    backdrop-filter: blur(10px);
}

.step-progress {
    margin-bottom: 10px;
    color: #667085;
    font-size: 13px;
    font-weight: 800;
}

.acf-tab-group {
    counter-reset: editor-step;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0 0 10px;
    list-style: none;
    overflow-x: auto;
}

.acf-tab-group li a {
    counter-increment: editor-step;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #f8fafc;
}

.acf-tab-group li a::before {
    content: counter(editor-step);
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e4eaf2;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
}

.acf-tab-group li.active a {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

.acf-tab-group li.active a::before {
    background: #fff;
    color: #1a73e8;
}

.acf-section {
    scroll-margin-top: 70px;
    padding-top: 6px;
}

.acf-section[hidden] {
    display: none;
}

.acf-section.is-active {
    display: grid;
    gap: 14px;
}

.acf-field {
    margin-bottom: 0;
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
}

.booking-url-panel {
    margin-bottom: 0;
    padding: 18px;
    border: 2px solid #aa8350;
    border-radius: 12px;
    background: #fffaf2;
}

.booking-url-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #1d252d;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-url-panel input[readonly] {
    cursor: not-allowed;
    background: #f3f4f6;
    color: #475467;
}

.acf-label label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #1d252d;
}

.acf-help {
    display: block;
    margin: -2px 0 8px;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}

.toggle-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f8fafc;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.toggle-field input {
    width: auto;
    margin: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
    width: 100%;
    font-size: 15px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #cfd7df;
    background: #fafafa;
    margin-bottom: 8px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

input[type="file"] {
    display: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #1a73e8;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, .15);
}

.acf-form-submit {
    text-align: center;
    margin-top: 14px;
    position: sticky;
    bottom: 10px;
    z-index: 4;
    padding-top: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 34%);
}

.acf-form-submit .acf-button.button-primary {
    min-height: 48px;
    padding: 0 18px;
    background: linear-gradient(135deg, #1a73e8, #0f5bd6);
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 6px 18px rgba(26, 115, 232, .25);
    font-weight: 700;
    cursor: pointer;
}

.step-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.step-button {
    min-height: 46px;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    background: #fff;
    color: #344054;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.step-button.primary {
    border-color: #1a73e8;
    background: #1a73e8;
    color: #fff;
}

.step-button:not(:disabled):hover,
.acf-form-submit .acf-button.button-primary:hover,
.image-action:hover,
.gallery-upload:hover,
.room-remove:hover,
.room-add:hover,
.gallery-controls button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(29, 37, 45, .12);
}

.step-button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.review-step h2 {
    margin: 0 0 16px;
    color: #1d252d;
    font-size: 22px;
}

.review-checks {
    display: grid;
    gap: 10px;
}

.review-check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f8fafc;
}

.review-check span {
    width: fit-content;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.review-check.is-ready span {
    background: #e7f8ef;
    color: #17633a;
}

.review-check.is-pending span {
    background: #fff0d9;
    color: #8a5a00;
}

.review-check strong {
    color: #344054;
    font-size: 14px;
}

.acf-repeater {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    background: #f8fafc;
}

.room-editor-card {
    display: grid;
    gap: 12px;
}

.room-editor-list {
    display: grid;
    gap: 14px;
}

.room-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.room-card-header .acf-label {
    margin-bottom: 0;
}

.room-remove,
.room-add {
    min-height: 42px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    cursor: pointer;
    font-weight: 800;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.room-remove {
    padding: 0 14px;
    color: #9f1d1d;
    border-color: #f0b8b8;
    background: #fff8f8;
}

.room-add {
    margin-top: 12px;
    padding: 0 18px;
    color: #17633a;
    border-color: #b7e4ca;
    background: #f2fbf6;
}

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

.rooms-optional-intro {
    border-color: #f0d9b5;
    background: #fffaf2;
}

.room-editor-card .acf-label {
    margin-bottom: 0;
}

.room-detail-editor {
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
}

.room-detail-editor summary {
    cursor: pointer;
    color: #344054;
    font-weight: 800;
}

.room-detail-editor[open] {
    display: grid;
    gap: 12px;
}

.room-detail-editor label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.room-facility-editor {
    display: grid;
    gap: 10px;
}

.room-facility-editor > strong {
    color: #344054;
}

.room-facility-row {
    grid-template-columns: 52px .9fr 1.2fr;
}

.image-picker {
    padding: 10px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.image-picker.is-main-image,
.image-picker.has-placement-preview {
    display: grid;
    grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
    gap: 8px 14px;
    align-items: start;
}

.image-context-label {
    margin: 0;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.placement-context-label {
    grid-column: 2;
    grid-row: 1;
}

.image-preview {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #eef2f6;
    color: #667085;
    font-size: 14px;
    text-align: center;
    border: 1px dashed #cfd7df;
}

.image-picker.is-main-image .image-preview,
.image-picker.has-placement-preview .image-preview {
    min-height: 138px;
    grid-column: 1;
    grid-row: 2;
}

.image-preview img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.image-picker.is-main-image .image-preview img,
.image-picker.has-placement-preview .image-preview img {
    height: 138px;
}

.hero-placement-preview {
    position: relative;
    min-height: 150px;
    grid-column: 2;
    grid-row: 2;
    overflow: hidden;
    border-radius: 12px;
    background: #17212b;
    border: 1px solid #d8dee7;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.hero-placement-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-placement-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .52);
}

.hero-placement-ui {
    position: relative;
    z-index: 2;
    min-height: 138px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 14px;
    color: #fff;
}

.hero-placement-nav {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.hero-placement-nav span {
    width: 42px;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .88);
}

.hero-placement-copy {
    align-self: center;
    justify-self: center;
    display: grid;
    gap: 6px;
    text-align: center;
}

.hero-placement-copy small {
    color: #d8c5a6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-placement-copy strong {
    max-width: 260px;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-placement-search {
    width: min(320px, 82%);
    height: 24px;
    justify-self: center;
    border-radius: 5px;
    background:
        linear-gradient(90deg, #fff 0 74%, #515850 74% 100%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

.hero-placement-empty {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: #d0d5dd;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    background:
        linear-gradient(rgba(23, 33, 43, .78), rgba(23, 33, 43, .78)),
        url("../audiovisuales1/assets/img/hero_home_1.jpg") center/cover;
}

.hero-placement-preview.is-empty .hero-placement-empty {
    display: flex;
}

.section-placement-preview {
    position: relative;
    min-height: 138px;
    grid-column: 2;
    grid-row: 2;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #d8dee7;
}

.section-placement-preview > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-placement-ui {
    position: relative;
    z-index: 2;
    min-height: 136px;
    display: grid;
    gap: 12px;
    padding: 14px;
}

.section-placement-preview > img[data-placement-img] {
    display: block;
}

.section-placement-room .section-placement-ui {
    align-items: center;
    justify-items: center;
    background: rgba(248, 250, 252, .72);
}

.placement-room-card {
    width: min(290px, 82%);
    padding: 9px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 28px rgba(29, 37, 45, .12);
}

.placement-room-card div {
    height: 78px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: rgba(29, 37, 45, .12);
    background-image: var(--placement-room-image);
    background-size: cover;
    background-position: center;
}

.placement-room-card strong,
.placement-room-card span {
    display: block;
}

.placement-room-card strong {
    margin-bottom: 6px;
    color: #1d252d;
    font-size: 12px;
}

.placement-room-card span {
    width: 70%;
    height: 7px;
    border-radius: 999px;
    background: rgba(29, 37, 45, .18);
}

.section-placement-empty {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(244, 246, 248, .88);
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.section-placement-preview.is-empty .section-placement-empty {
    display: flex;
}

.hero-placement-help {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #eef4ff;
    color: #2459a6;
    font-size: 13px;
    font-weight: 800;
}

.image-preview.is-removed {
    border: 1px solid #f3b3b3;
    background: #fff0f0;
    color: #9f1d1d;
}

.image-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.image-picker.is-main-image .image-actions,
.image-picker.has-placement-preview .image-actions {
    grid-column: 1 / -1;
    margin-top: 0;
}

.image-action,
.gallery-upload {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.image-action.primary,
.gallery-upload {
    background: #1a73e8;
    color: #fff;
}

.image-action.danger {
    background: #fff0f0;
    color: #9f1d1d;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.gallery-item,
.gallery-new-item {
    position: relative;
    padding: 8px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(29, 37, 45, .05);
}

.gallery-item img,
.gallery-new-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-main-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #1a73e8;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.gallery-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.gallery-controls button {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    background: #eef4ff;
    color: #2459a6;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.gallery-controls button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.gallery-controls [data-set-main-image],
.gallery-controls [data-set-room-main-image] {
    grid-column: 1 / -1;
    background: #1a73e8;
    color: #fff;
}

.gallery-controls .gallery-remove {
    grid-column: 1 / -1;
    background: #fff0f0;
    color: #9f1d1d;
}

.gallery-item.is-removed {
    opacity: .55;
    background: #fff0f0;
}

.gallery-item.is-removed img {
    filter: grayscale(1);
}

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

.gallery-new-item span {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #17633a;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.image-quality {
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.image-quality.ok {
    background: #e7f8ef;
    color: #17633a;
}

.image-quality.warning {
    background: #fff0d9;
    color: #8a5a00;
}

.service-row {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(29, 37, 45, .04);
}

.service-row[hidden] {
    display: none !important;
}

.service-row label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.service-row label:not(.service-technical-field) {
    grid-column: 1 / -1;
}

.service-technical-field,
.service-managed-field {
    display: none !important;
}

.service-icon-preview {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dbe4ef;
    color: #aa8350;
    font-size: 38px;
    box-shadow: inset 0 0 0 6px #f8fafc;
}

.service-row select {
    min-height: 45px;
}

.rich-editor {
    overflow: hidden;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
}

.rich-editor__toolbar {
    display: flex;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid #e4e7ec;
    background: #f8fafc;
}

.rich-editor__button {
    width: auto;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #1d252d;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.rich-editor__button strong {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 6px;
    background: #1d252d;
    color: #fff;
    font-size: 15px;
    line-height: 1;
}

.rich-editor__button:hover {
    border-color: #1d252d;
}

.rich-editor__button.is-active {
    border-color: #1a73e8;
    background: #eef4ff;
    color: #174ea6;
}

.rich-editor__button.is-active strong {
    background: #1a73e8;
}

.rich-editor__content {
    min-height: 132px;
    padding: 12px 14px;
    color: #1d252d;
    font: inherit;
    line-height: 1.55;
    outline: none;
}

.rich-editor__content p {
    margin: 0 0 10px;
}

.rich-editor__content p:last-child {
    margin-bottom: 0;
}

.service-row [readonly],
.service-row .is-readonly {
    cursor: default;
    background: #f3f4f6;
    color: #475467;
}

.service-description-preview {
    min-height: 20px;
    color: #667085;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.dynamic-service-list {
    display: grid;
    gap: 10px;
}

.service-remove,
.service-add {
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.service-remove {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 0 14px;
    color: #9f1d1d;
    border-color: #f0b8b8;
    background: #fff8f8;
}

.service-add {
    justify-self: start;
    padding: 0 18px;
    color: #17633a;
    border-color: #b7e4ca;
    background: #f2fbf6;
}

.empty-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    margin-bottom: 10px;
    border: 1px dashed #cfd7df;
    border-radius: 12px;
    color: #667085;
    background: #f8fafc;
    font-size: 14px;
}

.acf-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #e9f8ef;
    color: #17633a;
    font-weight: 700;
    border: 1px solid #ccebd7;
}

.login-error {
    background: #fff0f0;
    color: #9f1d1d;
    border: 1px solid #f3b3b3;
}

.login-screen {
    display: grid;
    align-items: center;
    background:
        linear-gradient(rgba(23, 33, 43, .72), rgba(23, 33, 43, .82)),
        url("../audiovisuales1/assets/img/hero_home_1.jpg") center/cover;
}

.login-container {
    width: min(460px, calc(100% - 24px));
    margin: 0 auto;
}

.login-brand {
    margin-bottom: 22px;
    text-align: left;
}

.login-brand span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff4df;
    color: #8a5a00;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.login-brand p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.5;
}

.hesperia-login label {
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
    color: #344054;
    font-weight: 800;
    text-align: left;
}

.hesperia-login .input {
    width: 100%;
    padding: 13px 14px;
    margin: 7px 0 0;
    border: 1px solid #cfd7df;
    border-radius: 10px;
    background: #f8fafc;
    color: #1d252d;
    font-size: 16px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.hesperia-login .input:focus {
    border-color: #1a73e8;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, .15);
}

#wp-submit {
    width: 100%;
    min-height: 48px;
    background: linear-gradient(135deg, #1a73e8, #0f5bd6);
    color: white;
    padding: 0 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(26, 115, 232, .25);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

#wp-submit:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(26, 115, 232, .32);
}

#wp-submit:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.login-link {
    margin: 18px 0 0;
    font-size: 14px;
}

.login-link a {
    color: #1a73e8;
    font-weight: 800;
    text-decoration: none;
}

.reset-user {
    color: #667085;
}

.dev-reset-link {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #ead7b8;
    border-radius: 10px;
    background: #fffaf2;
    text-align: left;
}

.dev-reset-link span {
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: #1d252d;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.dev-reset-link p {
    margin: 0;
    color: #667085;
    font-size: 13px;
}

.dev-reset-link a {
    overflow-wrap: anywhere;
    color: #004a99;
    font-size: 13px;
    font-weight: 700;
}

.hesperia-login {
    text-align: center;
    margin: 0;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.hesperia-login h3 {
    text-align: left;
    color: #111827;
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

@media (max-width: 560px) {
    .hesperia-editor {
        padding: 12px 8px 24px;
    }

    .hesperia-header {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .hesperia-actions {
        justify-content: flex-start;
    }

    .hesperia-card {
        padding: 16px;
        border-radius: 14px;
    }

    .login-container {
        width: min(100%, calc(100% - 14px));
    }

    .hesperia-login {
        padding: 22px;
    }

    .hesperia-login h3 {
        font-size: 26px;
    }

    .acf-tab-wrap {
        margin: -2px -2px 18px;
    }

    .acf-tab-group li a {
        min-height: 36px;
        font-size: 12px;
    }

    .editor-language-switch > div {
        grid-template-columns: 1fr;
    }

    .step-actions,
    .review-check {
        grid-template-columns: 1fr;
    }

    .image-picker.is-main-image,
    .image-picker.has-placement-preview {
        grid-template-columns: 1fr;
    }

    .placement-context-label,
    .image-picker.is-main-image .image-preview,
    .image-picker.has-placement-preview .image-preview,
    .hero-placement-preview,
    .section-placement-preview {
        grid-column: 1;
        grid-row: auto;
    }

    .image-picker.is-main-image .image-preview,
    .image-picker.is-main-image .image-preview img,
    .image-picker.has-placement-preview .image-preview,
    .image-picker.has-placement-preview .image-preview img,
    .section-placement-ui,
    .hero-placement-ui {
        min-height: 132px;
    }

    .gallery-preview {
        grid-template-columns: 1fr;
    }

    .service-row {
        grid-template-columns: 64px 1fr;
    }

    .service-icon-preview {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }
}
