﻿/* =========================================================
   ASSOCIATE REVIEW – match screenshot look & feel
   ========================================================= */

/* Page background (light blue like screenshot) */
body {
    margin-top: -21px;
    background: #dfefff;
}

/* Main content column */
.view-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
}

/* Remove card look; keep it like a clean sheet */
.form-surface {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
}

/* Header from your page (if you keep it) */
.page-card-header {
    background: rgb(0, 84, 135);
}
.header-row{
    display:flex;
}
.col-1 {
    text-align:center;
    flex: 0 0 auto;
    width: 8.3%;
    color:white;
}
.col-10 {
    text-align: center;
    flex: 0 0 auto;
    width: 83.3333333%;
    color: white;
}

/* =========================================================
   PROPERTY SECTION – grey strip header + right link
   ========================================================= */

.row {
    margin: 0;
    padding: 0;
}

.field-label {
    display: block;
    background: #e6e8ed;
    border-bottom: 1px solid #c9cdd4;
    padding: 14px 16px;
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    color: #3a3a3a;
}

/* “Missing Hotel?” should appear right/top like screenshot */
.link-action,
.float-right.link-action,
#lnkMissingHotel {
    float: right;
    margin-top: -34px; /* pulls it into grey strip area */
    margin-right: 16px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: underline;
    color: #1a73e8;
}

/* Hint under property picker */
.field-hint {
    padding: 6px 16px 0 16px;
    font-size: 13px;
    font-family: Arial, sans-serif;
    color: #000;
    opacity: 0.95;
}

/* Space around the property picker itself */
#ddlProperty,
.dxeBase_Office2010Blue,
.dxeBase_Aqua {
    margin: 10px 16px 0 16px;
}

/* Chip look (hotel selected) */
.chip-list {
    padding: 8px 16px 0 16px;
}

.chip-option {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 6px;
    background: #3f7f87; /* teal like screenshot */
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.chip-remove {
    margin-left: 10px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

/* =========================================================
   REVIEW DETAILS / DEVEXPRESS HTML EDITOR
   ========================================================= */

.details {
    padding: 0 16px 10px 16px;
}

    .details label.field-label {
        background: transparent;
        border: none;
        padding: 18px 0 6px 0;
        font-size: 18px;
        font-weight: 600;
    }

/* DevExpress HtmlEditor outer frame (make it look like screenshot) */
.dxheControl,
.dxheControl_Aqua,
.dxheControl_Office2010Blue,
.dxeMemo,
.dxeMemoSys {
    border-radius: 8px !important;
}

/* Toolbar: simple, spaced */
.dxheToolbar,
.dxheToolbar_Aqua,
.dxheToolbar_Office2010Blue {
    padding: 8px 10px !important;
}

/* =========================================================
   RATINGS – centered, dot buttons like screenshot
   ========================================================= */

.ratings-wrapper {
    max-width: 420px;
    margin: 22px auto 0 auto;
    padding: 0 16px;
}

.rate-section {
    margin: 14px 0 18px 0;
    text-align: center;
}

/* Title centered */
.rate-title {
    display: block;
    margin: 0 0 8px 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

/* N/A checkbox moved to the right of title row */
.na-checkbox {
    float: right;
    margin-top: -34px;
    margin-right: 20px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}


/* Make your button ratings look like the gold dots */
.rating-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #d7c56c;
    background: #fff7d0;
    padding: 0;
    cursor: pointer;
    /* hide the numeric label inside button */
    font-size: 0;
    line-height: 0;
}

    /* Selected = filled gold */
    .rating-btn.selected {
        background: #d7c56c;
        border-color: #d7c56c;
    }

/* Disabled state when N/A checked */
.rating-buttons.disabled .rating-btn {
    opacity: 0.40;
    cursor: not-allowed;
}

/* Optional text labels under dots (you can keep or remove) */
.rating-labels {
    display: none; /* screenshot doesn’t show the Poor/Fair/... row */
}

/* =========================================================
   RECOMMEND ROW (centered)
   ========================================================= */

.recommend-row {
    max-width: 420px;
    margin: 16px auto 0 auto;
    text-align: center;
    padding: 0 16px;
}

.recommend-option {
    float: left;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

/* =========================================================
   ATTACHMENTS (centered label)
   ========================================================= */

.label-attachments {
    text-align: center;
    margin: 18px 0 8px 0;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
}

/* =========================================================
   ACTION BUTTONS – simple / consistent
   ========================================================= */

.actions-row {
    padding: 14px 16px 30px 16px;
}

.actions-right {
    float: none !important;
    text-align: right;
}

/* =========================================================
   Responsive tweaks
   ========================================================= */

@media (max-width: 760px) {
    .view-container {
        width: 100%;
    }

    .link-action,
    #lnkMissingHotel {
        margin-top: -32px;
        margin-right: 12px;
    }
}


/* Put rating + label on one line */
.rating-line {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* The Good/Fair/etc text */
.rating-summary-inline {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    min-width: 70px; /* keeps alignment stable */
}

/* --- DevExpress Rating: force round dots --- */
/* These class names vary slightly by DX version, so we target a few common patterns */
.dxeRatingControl,
.dx-rating,
.dxeRating {
    display: inline-block;
}

    .dxeRatingControl .dxeRatingItem,
    .dxeRating .dxeRatingItem,
    .dx-rating .dxeRatingItem {
        width: 22px !important;
        height: 22px !important;
        border-radius: 999px !important;
        margin-right: 6px;
        box-sizing: border-box;
        background: transparent !important;
        border: 2px solid #d8c36a !important; /* gold outline */
    }

    /* Selected/filled items */
    .dxeRatingControl .dxeRatingItemSelected,
    .dxeRating .dxeRatingItemSelected,
    .dx-rating .dxeRatingItemSelected {
        background: #d8c36a !important; /* gold fill */
        border-color: #d8c36a !important;
    }

    /* Hover */
    .dxeRatingControl .dxeRatingItemHover,
    .dxeRating .dxeRatingItemHover,
    .dx-rating .dxeRatingItemHover {
        filter: brightness(0.95);
    }

.switch {
    float:right;
    position: relative;
    display: inline-block;
    width: 84px;
    height: 34px;
    vertical-align: middle;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    inset: 0;
    background: #d9dde3; /* off track */
    border-radius: 999px;
    transition: 0.2s ease;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10);
}

    /* knob */
    .slider:before {
        content: "";
        position: absolute;
        height: 28px;
        width: 28px;
        left: 3px;
        top: 3px;
        background: #ef5a66; /* off knob (red-ish like screenshot) */
        border-radius: 999px;
        transition: 0.2s ease;
        box-shadow: 0 1px 2px rgba(0,0,0,0.20);
    }

    /* Yes/No text */
    .slider:after {
        content: "No";
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 700;
        font-size: 13px;
        color: #2b2f36;
        transition: 0.2s ease;
    }

/* ON state */
.switch input:checked + .slider {
    background: #d9dde3; /* keep track neutral like screenshot */
}

    .switch input:checked + .slider:before {
        transform: translateX(50px);
        background: #15b39a; /* green knob */
    }

    .switch input:checked + .slider:after {
        content: "Yes";
        left: 14px;
        right: auto;
    }
/* =========================================================
   DEVEXPRESS ASPxRatingControl — GOLD CIRCLES (FINAL)
   ========================================================= */

/* Container alignment */
.rating-buttons {
    width:100%;
    display: inline-flex;
    align-items: center;
    justify-content: left;
    gap: 14px;
}

    /* Kill sprite backgrounds */
    .rating-buttons > div[id^="body_"][id*="rating_"] {
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
    }

        /* Hide internal sprite fill layers */
        .rating-buttons > div[id^="body_"][id*="rating_"] > div {
            display: none !important;
        }

        /* The actual clickable rating items */
        .rating-buttons > div[id^="body_"][id*="rating_"] > a[dxindex] {
            width: 22px !important;
            height: 22px !important;
            border-radius: 999px !important;
            border: 2px solid #d7c56c !important;
            margin: 6px !important;
            position: static !important;
            display: inline-block !important;
            box-sizing: border-box !important;
            transition: transform 0.08s ease, filter 0.08s ease;
        }

    /* Filled dots (JS applies dx-selected) */
    .rating-buttons a.dx-selected {
        background: #d7c56c !important;
        border-color: #d7c56c !important;
    }

    /* Hover */
    .rating-buttons > div > a[dxindex]:hover {
        transform: scale(1.06);
        filter: brightness(0.95);
    }

/* Disabled via N/A */
.rate-section.disabled {
    /*opacity: 0.55;*/
    pointer-events: none;
}

    .rate-section.disabled .na-checkbox {
        pointer-events: auto;
        opacity: 1;
    }
    .rate-section.disabled .rating-buttons {
        display: none;
    }

.review-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
}

.review-thumb {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,.1);
    background: #fff;
}

    .review-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .review-thumb button {
        position: absolute;
        top: 6px;
        right: 6px;
        border: none;
        border-radius: 999px;
        width: 26px;
        height: 26px;
        cursor: pointer;
        background: rgba(0,0,0,.55);
        color: #fff;
    }
.review-gallery-shell {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 10px 0 0 0;
}

.review-rail {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rail-btn {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    border: 0;
    background: #b9bcc2;
    color: #111;
    font-size: 22px;
    cursor: pointer;
}

.cover-toggle {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    font-family: Arial,sans-serif;
    color: #111;
}

    .cover-toggle input {
        width: 18px;
        height: 18px;
        display: block;
        margin: 0 auto 6px auto;
    }

.review-preview {
    position: relative;
    width: 340px;
    height: 240px;
    background: #6f93a8; /* close to screenshot */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .review-preview img {
        max-width: 100%;
        max-height: 100%;
        display: none;
    }

.preview-empty {
    color: #fff;
    font-family: Arial,sans-serif;
    font-size: 14px;
    opacity: .9;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 60px;
    border: 0;
    background: rgba(0,0,0,0.25);
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-btn.left {
        left: 8px;
        border-radius: 6px;
    }

    .nav-btn.right {
        right: 8px;
        border-radius: 6px;
    }

.review-list {
    flex: 1;
    min-width: 260px;
    height: 240px;
    border: 1px solid #c9cdd4;
    border-radius: 6px;
    background: #fff;
    overflow: auto;
}

.gallery-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-bottom: 1px solid #eef0f3;
    font-family: Arial,sans-serif;
    font-size: 13px;
    cursor: pointer;
}

    .gallery-row:hover {
        background: #f5f8fb;
    }

    .gallery-row.selected {
        background: #cfe6ff;
    }

.gallery-name {
    flex: 1;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-radio {
    width: 18px;
    height: 18px;
}

.uc-hidden {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ---- Actions row layout ---- */
.actions-row {
    margin-top: 14px;
}

.actions-right {
    height: auto !important; /* override inline height */
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

    /* remove the legacy &nbsp; spacing impact */
    .actions-right > * {
        margin: 0 !important;
    }

/* ---- Base button look ---- */
.submit-button,
.cancel-button,
.delete-button {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 0 rgba(0,0,0,.08);
    transition: transform .05s ease, box-shadow .15s ease, filter .15s ease;
}

    /* press feel */
    .submit-button:active,
    .cancel-button:active,
    .delete-button:active {
        transform: translateY(1px);
        box-shadow: 0 1px 0 rgba(0,0,0,.06);
    }

/* ---- Colors (match screenshot) ---- */
.submit-button {
    background: #0b4f7d; /* deep blue */
    color: #fff;
}

.cancel-button {
    background: #eef3f7; /* light grey */
    color: #1b1f24;
    border-color: #d6dee6;
    box-shadow: none; /* screenshot looks flatter */
}

.delete-button {
    background: #e24a3b; /* red */
    color: #fff;
}

    /* ---- Hover ---- */
    .submit-button:hover,
    .delete-button:hover {
        filter: brightness(1.05);
    }

.cancel-button:hover {
    background: #e6edf4;
}

/* ---- Optional: consistent width like screenshot ---- */
.submit-button,
.cancel-button,
.delete-button {
    min-width: 92px;
}

.back-link {
    display: inline-block;
    margin: 2px 0 10px 0;
    color: white;
    font-weight: 600;
    text-decoration: none;
}
.page-heading{
    color:white;
}

    .back-link:hover {
        text-decoration: underline;
    }

.field-label {
    color: #000 !important;
    background: #fff;
    display: block;
    padding: 10px 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.field-hint {
    margin-top: 6px;
}

/* makes editor container align nicely under label */
.details {
    background: #fff;
    padding: 0 16px 16px 0px;
}
.property-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #2f6f73;
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
}

.property-pill-name {
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
}

.property-pill-info {
    font-size: 12px;
    opacity: .95;
    margin-top: 4px;
}

.property-pill-main {
    min-width: 0;
}

.property-pill-x {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,.22);
    color: #fff;
    font-size: 20px;
    line-height: 34px;
}

    .property-pill-x:hover {
        background: rgba(255,255,255,.32);
    }
.rate-title {
    text-align: left !important;
}


.busy-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

.busy-spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 4px solid rgba(0,0,0,.15);
    border-top-color: rgba(0,0,0,.55);
    animation: spin 0.9s linear infinite;
}

.busy-text {
    margin-top: 12px;
    font-weight: 700;
    color: #000;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.thank-you {
    text-align: center;
}
.submit-button, .cancel-button, .delete-button, .archive-button {
    border-radius: 12px !important;
    padding: 12px 18px !important;
    min-width: 200px;
}

#page {
    padding: 0px;
    max-width: 800px;
    min-width: 800px;
}
#content {
    padding: 0px;
}

.doc-link-row {
    padding: 8px 10px;
    border: 1px solid #e6e8ee;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .doc-link-row a {
        font-weight: 700;
        color: #1f4d4f;
        text-decoration: none;
    }

        .doc-link-row a:hover {
            text-decoration: underline;
        }

.doc-meta {
    font-size: 12px;
    opacity: .75;
    white-space: nowrap;
}
.doc-del {
    border: 0;
    cursor: pointer;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    padding: 2px 6px;
}

    .doc-del:hover {
        opacity: .8;
    }

