* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5b4bdb;
    --primary-dark: #4435bd;
    --primary-light: #eeecff;
    --text: #1d2433;
    --muted: #687386;
    --surface: #ffffff;
    --page-background: #f5f7fb;
    --border: #dfe3ea;
    --success: #137a4b;
    --success-bg: #e9f8f0;
    --error: #b42318;
    --error-bg: #fff0ee;
    --shadow: 0 12px 35px rgba(25, 31, 45, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, #dfdcff, transparent 38%),
        var(--page-background);
}

button,
input,
textarea {
    font: inherit;
}

button {
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(520px, 640px);
}

.brand-panel {
    position: sticky;
    top: 0;
    min-height: 100vh;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    background:
        linear-gradient(
            140deg,
            rgba(36, 27, 104, 0.98),
            rgba(91, 75, 219, 0.96)
        );
}

.eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-panel h1 {
    font-size: clamp(58px, 8vw, 110px);
    line-height: 1;
}

.brand-text {
    max-width: 550px;
    margin-top: 25px;
    font-size: 20px;
    line-height: 1.6;
    color: #e8e5ff;
}

.auth-card {
    min-height: 100vh;
    padding: 48px;
    display: flex;
    align-items: flex-start;
    background: var(--surface);
}

.auth-card > div {
    width: 100%;
}

#authSection {
    margin: auto 0;
}

.tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    margin-bottom: 30px;
    border-radius: 12px;
    background: #f0f2f6;
}

.tab {
    padding: 12px;
    border: 0;
    border-radius: 9px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
}

.tab.active {
    color: var(--primary);
    font-weight: 700;
    background: white;
    box-shadow: 0 2px 8px rgba(25, 31, 45, 0.08);
}

.form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form h2,
.profile h2 {
    margin-bottom: 8px;
    font-size: 30px;
}

.form > p {
    margin-bottom: 25px;
    color: var(--muted);
}

.form label {
    margin: 14px 0 7px;
    font-size: 14px;
    font-weight: 700;
}

.form input,
.form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    background: white;
    outline: none;
}

.form textarea {
    min-height: 95px;
    line-height: 1.5;
    resize: vertical;
}

.form input:focus,
.form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91, 75, 219, 0.12);
}

.primary-button,
.secondary-button {
    width: 100%;
    margin-top: 24px;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.primary-button {
    border: 0;
    color: white;
    background: var(--primary);
}

.primary-button:hover {
    background: var(--primary-dark);
}

.secondary-button {
    border: 1px solid var(--border);
    color: var(--text);
    background: white;
}

.secondary-button:hover {
    background: #f6f7fa;
}

.message {
    margin-bottom: 20px;
    padding: 13px;
    border-radius: 9px;
    font-size: 14px;
    line-height: 1.5;
}

.message.success {
    color: var(--success);
    background: var(--success-bg);
}

.message.error {
    color: var(--error);
    background: var(--error-bg);
}

.profile {
    text-align: center;
}

.profile-header {
    padding: 20px 0 5px;
}

.profile-header .eyebrow,
.section-heading .eyebrow {
    color: var(--primary);
}

.profile-header > p:last-child {
    color: var(--muted);
}

.avatar {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    font-size: 30px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(91, 75, 219, 0.25);
}

.profile-details {
    margin-top: 30px;
    display: grid;
    gap: 12px;
    text-align: left;
}

.profile-details div {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-radius: 10px;
    background: #f6f7fa;
}

.profile-details span {
    color: var(--muted);
}

.management-panel,
.hotel-list-section {
    margin-top: 35px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: left;
    background: white;
    box-shadow: var(--shadow);
}

.section-heading {
    margin-bottom: 22px;
    text-align: left;
}

.section-heading h3 {
    margin-bottom: 7px;
    font-size: 23px;
}

.section-heading > p:last-child {
    color: var(--muted);
    line-height: 1.5;
}

.hotel-list {
    display: grid;
    gap: 15px;
}

.hotel-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fafaff;
}

.hotel-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.hotel-card h4 {
    font-size: 18px;
    line-height: 1.4;
}

.status-badge {
    padding: 5px 9px;
    border-radius: 20px;
    color: var(--success);
    background: var(--success-bg);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.hotel-location {
    margin-top: 9px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
}

.hotel-address,
.hotel-description {
    margin-top: 9px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.empty-state {
    padding: 20px;
    border-radius: 10px;
    color: var(--muted);
    background: #f6f7fa;
    text-align: center;
}

.error-text {
    color: var(--error);
    background: var(--error-bg);
}

.hidden {
    display: none;
}

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

    .brand-panel {
        position: static;
        min-height: 280px;
        padding: 45px 30px;
    }

    .brand-panel h1 {
        font-size: 64px;
    }

    .auth-card {
        min-height: auto;
        padding: 40px 30px;
    }
}

@media (max-width: 580px) {
    .brand-panel {
        min-height: 230px;
        padding: 35px 22px;
    }

    .brand-panel h1 {
        font-size: 54px;
    }

    .brand-text {
        font-size: 16px;
    }

    .auth-card {
        padding: 30px 18px;
    }

    .management-panel,
    .hotel-list-section {
        padding: 19px;
    }

    .profile-details div,
    .hotel-card-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* BOOKING UI */

.room-list,
.booking-list {
    display: grid;
    gap: 15px;
}

.room-card,
.booking-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fafaff;
}

.room-card-header,
.booking-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.room-card h4,
.booking-card h4 {
    font-size: 18px;
    line-height: 1.4;
}

.room-price,
.booking-amount {
    display: block;
    margin-top: 14px;
    color: var(--primary);
    font-size: 19px;
}

.room-detail,
.booking-detail,
.booking-card-header p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.compact-button {
    width: auto;
    margin-top: 16px;
    padding: 10px 16px;
}

.selected-room {
    margin-bottom: 15px;
    padding: 16px;
    display: grid;
    gap: 6px;
    border-radius: 11px;
    color: var(--text);
    background: var(--primary-light);
}

.selected-room span {
    color: var(--muted);
    font-size: 13px;
}

.selected-room strong {
    color: var(--primary);
    font-size: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.booking-total {
    margin-top: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 11px;
    background: #f6f7fa;
}

.booking-total span {
    color: var(--muted);
}

.booking-total strong {
    color: var(--primary);
    font-size: 21px;
}

.booking-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.booking-badge {
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.booking-badge.confirmed,
.booking-badge.paid {
    color: var(--success);
    background: var(--success-bg);
}

.booking-badge.pending {
    color: #9a6700;
    background: #fff4ce;
}

@media (max-width: 580px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .room-card-header,
    .booking-card-header {
        flex-direction: column;
    }

    .booking-badges {
        justify-content: flex-start;
    }

    .compact-button {
        width: 100%;
    }
}


/* ================================
   NEXORA MODULE NAVIGATION
================================ */

.nexora-module-tabs {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    padding: 12px;
    border-radius: 16px;
    flex-wrap: wrap;
}

.nexora-module-tabs button {
    flex: 1;
    min-width: 180px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.hidden {
    display: none !important;
}


/* NEXORA AUTH BRANDING */
.nexora-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 22px;
    border-radius: 24px;
}

/* Hero only for Login / Register */
.page:not(.logged-in) .brand-panel {
    background:
        linear-gradient(rgba(8, 18, 45, 0.25), rgba(8, 18, 45, 0.38)),
        url("/assets/nexora-hero.png") center center / cover no-repeat;
}

/* After login: remove giant hero and use full dashboard */
.page.logged-in {
    display: block;
    background: var(--page-background);
}

.page.logged-in .brand-panel {
    display: none;
}

.page.logged-in .auth-card {
    width: 100%;
    min-height: 100vh;
    padding: 40px;
}

/* Responsive */
@media (max-width: 900px) {
    .nexora-logo {
        width: 86px;
        height: 86px;
    }

    .page:not(.logged-in) .brand-panel {
        background-position: center;
        background-size: cover;
    }

    .page.logged-in .auth-card {
        padding: 28px;
    }
}

@media (max-width: 580px) {
    .nexora-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 14px;
    }

    .page.logged-in .auth-card {
        padding: 18px;
    }
}


/* NEXORA LOGGED-IN HEADER */
.dashboard-brand {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.dashboard-brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    flex-shrink: 0;
}

.dashboard-brand div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dashboard-brand strong {
    font-size: 27px;
    line-height: 1;
    color: var(--text);
}

.dashboard-brand span {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.page.logged-in .auth-card > div {
    max-width: 1180px;
    margin: 0 auto;
}

@media (max-width: 580px) {
    .dashboard-brand {
        margin-bottom: 22px;
    }

    .dashboard-brand img {
        width: 52px;
        height: 52px;
        border-radius: 13px;
    }

    .dashboard-brand strong {
        font-size: 23px;
    }
}

/* =========================================================
   NEXORA PREMIUM AUTH POLISH — 07 SEP 2026
   ========================================================= */

.auth-card {
    padding: clamp(28px, 5vw, 64px);
}

#authSection {
    max-width: 520px;
    width: 100%;
    margin: auto;
}

.tabs {
    padding: 6px;
    margin-bottom: 34px;
    border: 1px solid rgba(91, 75, 219, 0.08);
    border-radius: 16px;
    background: #f4f5f9;
}

.tab {
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}

.tab.active {
    color: var(--primary);
    background: #ffffff;
    box-shadow:
        0 4px 14px rgba(25, 31, 45, 0.08),
        0 1px 3px rgba(25, 31, 45, 0.05);
}

.form h2 {
    margin-bottom: 9px;
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.15;
    letter-spacing: -0.6px;
}

.form > p {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
}

.form label {
    margin: 17px 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border: 1px solid #d9deea;
    border-radius: 13px;
    color: var(--text);
    background: #fbfcfe;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form input:hover,
.form textarea:hover,
.form select:hover {
    border-color: #c6cbe0;
    background: #ffffff;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(91, 75, 219, 0.11);
}

.primary-button {
    min-height: 52px;
    margin-top: 28px;
    border-radius: 13px;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(91, 75, 219, 0.20);
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(91, 75, 219, 0.25);
}

#forgotPasswordButton,
#backToLoginButton {
    align-self: center;
    margin-top: 18px;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    color: var(--primary);
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#forgotPasswordButton:hover,
#backToLoginButton:hover {
    background: var(--primary-light);
}

@media (max-width: 700px) {
    .auth-card {
        padding: 28px 20px 36px;
    }

    #authSection {
        max-width: 100%;
    }

    .tabs {
        margin-bottom: 28px;
    }

    .form input,
    .form textarea,
    .form select {
        font-size: 16px;
    }
}

/* Nexora password visibility control */

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 86px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    min-width: 66px;
    padding: 7px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    color: var(--primary);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.password-toggle:hover {
    background: var(--primary-light);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.97);
}

.password-eye {
    font-size: 12px;
}

@media (max-width: 700px) {
    .password-toggle {
        min-height: 38px;
    }
}

/* NEXORA PREMIUM PASSWORD EYE */

.password-input-wrap {
    position: relative;
    width: 100%;
}

.password-input-wrap input {
    width: 100%;
    padding-right: 52px;
}

.password-eye-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.password-eye-button:hover {
    background: var(--primary-light);
}

.password-eye-button:active {
    transform: translateY(-50%) scale(0.95);
}


/* =========================================================
   NEXORA PREMIUM LOGGED-IN DASHBOARD — 07 SEP 2026
   ========================================================= */

.page.logged-in {
    background:
        radial-gradient(circle at top left, rgba(91, 75, 219, 0.08), transparent 32%),
        #f7f8fc;
}

.page.logged-in .auth-card {
    padding: 34px;
    background: transparent;
}

.page.logged-in .auth-card > div {
    max-width: 1180px;
    margin: 0 auto;
}

/* Premium top brand */
.dashboard-brand {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid rgba(91, 75, 219, 0.10);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 28px rgba(25, 31, 45, 0.06);
}

.dashboard-brand img {
    box-shadow: 0 6px 18px rgba(91, 75, 219, 0.14);
}

.dashboard-brand strong {
    font-weight: 800;
    letter-spacing: -0.4px;
}

/* Main module navigation */
.nexora-module-tabs {
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(91, 75, 219, 0.08);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 24px rgba(25, 31, 45, 0.05);
}

.nexora-module-tabs button {
    min-height: 48px;
    border: 0;
    border-radius: 13px;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.nexora-module-tabs button:hover {
    transform: translateY(-1px);
}

/* Dashboard content cards */
.page.logged-in .management-panel,
.page.logged-in .hotel-list-section,
.page.logged-in .profile-section,
.page.logged-in .booking-section,
.page.logged-in .restaurant-section,
.page.logged-in .food-section {
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(25, 31, 45, 0.055);
}

/* Cleaner forms inside dashboard */
.page.logged-in input,
.page.logged-in textarea,
.page.logged-in select {
    border-radius: 12px;
    background: #fbfcff;
}

.page.logged-in input:focus,
.page.logged-in textarea:focus,
.page.logged-in select:focus {
    background: #ffffff;
}

/* Friendly buttons */
.page.logged-in .primary-button {
    min-height: 48px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(91, 75, 219, 0.18);
}

/* Mobile dashboard */
@media (max-width: 700px) {
    .page.logged-in .auth-card {
        padding: 14px;
    }

    .dashboard-brand {
        gap: 12px;
        margin-bottom: 16px;
        padding: 14px;
        border-radius: 17px;
    }

    .nexora-module-tabs {
        margin: 16px 0 20px;
        padding: 6px;
        border-radius: 16px;
    }

    .nexora-module-tabs button {
        min-width: calc(50% - 5px);
        min-height: 46px;
        padding: 11px 10px;
        font-size: 14px;
    }

    .page.logged-in .management-panel,
    .page.logged-in .hotel-list-section,
    .page.logged-in .profile-section,
    .page.logged-in .booking-section,
    .page.logged-in .restaurant-section,
    .page.logged-in .food-section {
        border-radius: 17px;
    }
}

/* =========================================================
   NEXORA — PRO MAX PREMIUM V2
   High-end logged-in experience
   ========================================================= */

.page.logged-in {
    background:
        radial-gradient(circle at 8% 0%, rgba(91,75,219,.13), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(111,95,255,.08), transparent 24%),
        #f6f7fb;
}

.page.logged-in .auth-card {
    padding: 32px 28px 60px;
}

/* ---------- TOP BRAND ---------- */

.dashboard-brand {
    position: relative;
    overflow: hidden;
    padding: 20px 22px;
    border: 1px solid rgba(91,75,219,.10);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,247,255,.96));
    box-shadow:
        0 18px 50px rgba(28,24,70,.08),
        0 2px 8px rgba(28,24,70,.04);
}

.dashboard-brand::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -55px;
    top: -75px;
    border-radius: 50%;
    background: rgba(91,75,219,.08);
    pointer-events: none;
}

.dashboard-brand img {
    width: 62px;
    height: 62px;
    padding: 4px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(91,75,219,.18);
}

.dashboard-brand strong {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.dashboard-brand span {
    margin-top: 3px;
    font-weight: 500;
}

/* ---------- PROFILE ---------- */

.profile-header {
    padding: 22px;
    border: 1px solid rgba(91,75,219,.09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(25,31,45,.055);
}

.avatar {
    box-shadow:
        0 10px 25px rgba(91,75,219,.22),
        inset 0 0 0 1px rgba(255,255,255,.25);
}

.profile-details {
    gap: 12px;
}

.profile-details > div {
    padding: 16px 18px;
    border: 1px solid rgba(31,41,55,.07);
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #fafaff);
}

/* ---------- MAIN APP NAVIGATION ---------- */

.nexora-module-tabs {
    position: sticky;
    top: 10px;
    z-index: 20;
    padding: 7px;
    border: 1px solid rgba(91,75,219,.10);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow:
        0 14px 38px rgba(25,31,45,.08),
        0 2px 6px rgba(25,31,45,.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nexora-module-tabs button {
    min-height: 50px;
    border-radius: 14px;
    font-weight: 750;
    letter-spacing: -.1px;
}

/* ---------- PRO MAX CONTENT CARDS ---------- */

.page.logged-in .management-panel,
.page.logged-in .hotel-list-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 26px;
    border: 1px solid rgba(31,41,55,.075);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255,255,255,1), rgba(252,252,255,1));
    box-shadow:
        0 16px 45px rgba(25,31,45,.065),
        0 2px 7px rgba(25,31,45,.035);
}

.page.logged-in .management-panel::before,
.page.logged-in .hotel-list-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(91,75,219,.65),
        transparent
    );
}

.section-heading h3,
.management-panel h3,
.hotel-list-section h3 {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.35px;
    color: #191d29;
}

.section-heading p,
.management-panel > p,
.hotel-list-section > p {
    margin-top: 5px;
    line-height: 1.55;
    color: var(--muted);
}

/* ---------- FORMS ---------- */

.page.logged-in .form,
.page.logged-in .management-form {
    gap: 15px;
}

.page.logged-in label {
    color: #303747;
    font-size: 13px;
    font-weight: 700;
}

.page.logged-in input,
.page.logged-in textarea,
.page.logged-in select {
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid #e2e5ec;
    border-radius: 14px;
    outline: none;
    background: #fafbfe;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        transform .18s ease;
}

.page.logged-in textarea {
    min-height: 100px;
    resize: vertical;
}

.page.logged-in input:hover,
.page.logged-in textarea:hover,
.page.logged-in select:hover {
    border-color: #cfd2dd;
    background: #fff;
}

.page.logged-in input:focus,
.page.logged-in textarea:focus,
.page.logged-in select:focus {
    border-color: rgba(91,75,219,.70);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91,75,219,.10);
}

/* ---------- BUTTONS ---------- */

.page.logged-in .primary-button {
    min-height: 50px;
    padding: 13px 19px;
    border: 0;
    border-radius: 14px;
    font-weight: 750;
    background:
        linear-gradient(135deg, #6655e8, #4d3bc7);
    box-shadow:
        0 10px 22px rgba(91,75,219,.24),
        inset 0 1px rgba(255,255,255,.22);
}

.page.logged-in .primary-button:hover {
    transform: translateY(-1px);
    box-shadow:
        0 13px 27px rgba(91,75,219,.29),
        inset 0 1px rgba(255,255,255,.22);
}

.page.logged-in .secondary-button {
    min-height: 48px;
    border: 1px solid rgba(91,75,219,.14);
    border-radius: 14px;
    font-weight: 700;
    background: #f4f2ff;
}

/* ---------- HOTEL / BOOKING / FOOD / ORDER ITEMS ---------- */

.page.logged-in .hotel-card,
.page.logged-in .booking-card,
.page.logged-in .booking-list > div,
.page.logged-in .hotel-list > div {
    border: 1px solid rgba(31,41,55,.075);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(25,31,45,.05);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.page.logged-in .hotel-card:hover,
.page.logged-in .booking-card:hover,
.page.logged-in .booking-list > div:hover,
.page.logged-in .hotel-list > div:hover {
    transform: translateY(-2px);
    border-color: rgba(91,75,219,.16);
    box-shadow: 0 14px 32px rgba(25,31,45,.075);
}

/* ---------- TOTAL / CHECKOUT ---------- */

.booking-total {
    padding: 16px 18px;
    border: 1px solid rgba(91,75,219,.11);
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f7ff, #f2f0ff);
    font-weight: 800;
}

#foodCartTotal {
    font-weight: 850;
    color: var(--primary-dark);
}

/* ---------- EMPTY STATES ---------- */

.empty-state {
    padding: 24px 18px;
    border: 1px dashed #d9dce5;
    border-radius: 16px;
    background: #fafbfe;
    line-height: 1.5;
}

/* ---------- MOBILE PRO MAX ---------- */

@media (max-width: 700px) {

    .page.logged-in .auth-card {
        padding: 12px 12px 40px;
    }

    .dashboard-brand {
        padding: 14px;
        border-radius: 19px;
    }

    .dashboard-brand img {
        width: 52px;
        height: 52px;
        border-radius: 15px;
    }

    .dashboard-brand strong {
        font-size: 23px;
    }

    .nexora-module-tabs {
        top: 6px;
        gap: 6px;
        margin: 14px 0 18px;
        border-radius: 17px;
    }

    .nexora-module-tabs button {
        min-width: calc(50% - 3px);
        min-height: 46px;
        padding: 10px 8px;
        font-size: 13.5px;
    }

    .page.logged-in .management-panel,
    .page.logged-in .hotel-list-section {
        margin-bottom: 16px;
        padding: 20px 16px;
        border-radius: 20px;
    }

    .section-heading h3,
    .management-panel h3,
    .hotel-list-section h3 {
        font-size: 19px;
    }

    .page.logged-in input,
    .page.logged-in textarea,
    .page.logged-in select {
        font-size: 16px;
    }

    .page.logged-in .primary-button,
    .page.logged-in .secondary-button {
        width: 100%;
    }
}

/* Hotel card photo */
.hotel-card-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    margin-bottom: 14px;
}


/* Room card photo */
.room-card-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    margin-bottom: 14px;
}


/* NEXORA RESTAURANT + MENU PHOTOS */
.restaurant-card-photo {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 14px;
}

.menu-photo-card {
    align-items: center;
    gap: 16px;
}

.menu-item-photo {
    display: block;
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .menu-photo-card {
        align-items: stretch;
    }

    .menu-item-photo {
        width: 100%;
        height: 190px;
    }
}


/* NEXORA CUSTOMER CLICK FLOW */

.customer-click-card {
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.customer-click-card:hover {
    transform: translateY(-3px);
}

.customer-click-card:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

.selected-customer-card {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.customer-restaurant-cards {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .customer-restaurant-cards {
        grid-template-columns: 1fr;
    }
}


/* =================================
   NEXORA VERIFIED REVIEW UI
   ================================= */

.nexora-review-box {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    display: grid;
    gap: 10px;
}

.nexora-review-title {
    display: block;
    font-size: 1rem;
}

.nexora-review-rating,
.nexora-review-comment {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    padding: 10px 12px;
    background: inherit;
    color: inherit;
}

.nexora-review-comment {
    resize: vertical;
    min-height: 84px;
}

.nexora-review-message {
    margin: 0;
    min-height: 18px;
    font-size: 0.9rem;
}

.nexora-review-success {
    margin: 0;
    font-weight: 700;
}

@media (max-width: 640px) {
    .nexora-review-box {
        padding: 14px;
    }
}

/* MINI BOOK NEXORA — OWNER SHARE */

.mini-book-owner-tools {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #d9b65d;
    background: #f8fafc;
}

.mini-book-owner-heading {
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0b1d3a;
}

.mini-book-owner-link {
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #dfe5ed;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.mini-book-owner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 9px;
}

.mini-book-owner-actions a,
.mini-book-owner-actions button {
    min-height: 40px;
    padding: 9px 15px;
    border: 0;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.mini-book-open {
    background: #0b1d3a;
    color: #ffffff;
}

.mini-book-copy,
.mini-book-share {
    background: #e8edf5;
    color: #0b1d3a;
}

.mini-book-owner-tools small {
    color: #667085;
}

/* MINI BOOK NEXORA — OWNER SHARE */

.mini-book-owner-tools {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #d9b65d;
    background: #f8fafc;
}

.mini-book-owner-heading {
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0b1d3a;
}

.mini-book-owner-link {
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #ffffff;
    border: 1px solid #dfe5ed;
    overflow-wrap: anywhere;
    font-size: 13px;
}

.mini-book-owner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 9px;
}

.mini-book-owner-actions a,
.mini-book-owner-actions button {
    min-height: 40px;
    padding: 9px 15px;
    border: 0;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.mini-book-open {
    background: #0b1d3a;
    color: #ffffff;
}

.mini-book-copy,
.mini-book-share {
    background: #e8edf5;
    color: #0b1d3a;
}

.mini-book-owner-tools small {
    color: #667085;
}

/* ==================================================
   BOOKNEXORA — YOUR WEBSITE OWNER BOX
   ================================================== */

.owner-website-box {
    margin-top: 16px;
    padding: 14px 15px;
    border: 1px solid #d8b45b;
    border-radius: 4px;
    background:
        linear-gradient(
            135deg,
            #fffdf7 0%,
            #f8f1df 100%
        );
    box-shadow:
        0 6px 18px rgba(11, 29, 58, 0.08);
}

.owner-website-eyebrow {
    margin-bottom: 5px;
    color: #9b7725;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.owner-website-label {
    display: block;
    margin-bottom: 9px;
    color: #0b1d3a;
    font-size: 15px;
}

.owner-website-link-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.owner-website-link {
    min-width: 0;
    flex: 1;
    padding: 9px 10px;
    border: 1px solid #e2d5b5;
    background: #ffffff;
    color: #0b1d3a;
    font-size: 12px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.owner-website-copy {
    min-height: 36px;
    padding: 8px 13px;
    border: 0;
    border-radius: 3px;
    background: #0b1d3a;
    color: #ffffff;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.owner-website-note {
    display: block;
    margin-top: 8px;
    color: #777064;
    font-size: 11px;
}

@media (max-width: 600px) {
    .owner-website-link-row {
        align-items: stretch;
        flex-direction: column;
    }

    .owner-website-link {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .owner-website-copy {
        width: 100%;
    }
}
