/* GoHomeAgentTwo's own rules, after the design (design.css): what the demo's static pages had no need of. */

/* The agent's answers are Markdown: paragraphs, lists, bold, links. */
.chat-msg.chat-agent > :first-child{margin-top:0}
.chat-msg.chat-agent > :last-child{margin-bottom:0}
.chat-msg.chat-agent p{margin:0 0 .6em}
.chat-msg.chat-agent ul,.chat-msg.chat-agent ol{margin:0 0 .6em;padding-left:1.25em}
.chat-msg.chat-agent li + li{margin-top:.2em}
.chat-msg.chat-agent a:not(.chat-inline-link){color:var(--coral-dark);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.chat-msg.chat-agent h1,.chat-msg.chat-agent h2,.chat-msg.chat-agent h3,.chat-msg.chat-agent h4{margin:.2em 0 .4em;font:800 15px/1.3 Manrope,sans-serif;color:var(--deep)}
.chat-msg.chat-agent code{font-size:.92em}
.chat-msg.chat-agent table{width:100%;margin:0 0 .6em;border-collapse:collapse;font-size:12px}
.chat-msg.chat-agent th,.chat-msg.chat-agent td{padding:4px 6px;border-bottom:1px solid #F3E2DD;text-align:left}

/* A primary button while it waits (the chat's Pošalji during an answer, Spremi while saving): the design's coral, faded. */
.btn-primary{--bs-btn-disabled-color:#fff;--bs-btn-disabled-bg:var(--coral);--bs-btn-disabled-border-color:var(--coral)}

/* Odjava is a form's button (a POST with the antiforgery token), in the demo's link look. */
button.app-drawer-logout{padding:0;border:0;background:none;text-align:left;cursor:pointer}

/* The account's e-mail is its sign-in: shown, not changed here. A field that does not apply (rooms of a house). */
.form-control[readonly]{background:#F6F7F7;color:#6F7573}
.form-select:disabled{background-color:#F6F7F7;color:#9AA09E;cursor:not-allowed}

/* A package that cannot be chosen yet (registration). */
.btn-check:disabled + .plan-option{opacity:.55;cursor:not-allowed}
.btn-check:disabled + .plan-option:hover{border-color:var(--border)}

/* A save that failed. */
.set-saved.is-error{color:var(--coral-dark)}

/* Obavijesti: the unread ones. */
.note-item.is-unread{border-color:#F4C9C3;background:#FFF8F6}
.note-item .set-upit-icon{width:62px;height:62px}

/* Paketi: the price at the end of a row. */
.set-plan-price{font:800 15px/1.2 Manrope,sans-serif;color:var(--deep)}

/* The favourites' filters open from the button's right edge where the toolbar is one row (else they run past the page). */
@media(min-width:768px){
  .fav-page .list-filter-pop{left:auto;right:0}
}

/* Blazor's note when the connection to the server breaks. */
#blazor-error-ui{display:none;position:fixed;left:0;right:0;bottom:0;z-index:2300;padding:12px 44px 12px 16px;background:#FFF7E7;color:#8B6A22;box-shadow:0 -6px 24px rgba(37,42,45,.12);font-size:14px}
#blazor-error-ui .reload{margin-left:8px;color:var(--coral-dark);font-weight:800}
#blazor-error-ui .dismiss{position:absolute;top:10px;right:16px;cursor:pointer}

/* Desktop: the card in the chat lies on its side (photo left, the rest right), so the whole card and its buttons fit in the
   chat window; the demo's tall card is taller than the chat on most desktop screens. Full screen keeps the tall card. */
@media(min-width:992px){
  .chat-results > .chat-deck .deck-card{width:min(100%,860px);display:grid;grid-template-columns:minmax(0,46%) minmax(0,1fr)}
  .chat-results > .chat-deck .deck-behind{width:min(100%,860px)}
  .chat-results > .chat-deck .deck-card .deck-photo{aspect-ratio:auto;height:100%;min-height:250px}
  .chat-results > .chat-deck .deck-card .deck-body{align-content:center}
}
