/* Aviatrip Agency Messaging v8.7.0 */
.agmsg-thread{margin:18px 0 0;padding:18px;border:1px solid #dce6f2;border-radius:20px;background:linear-gradient(180deg,#f8fbff 0%,#fff 100%)}
.agmsg-thread__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.agmsg-thread__head div{display:flex;align-items:center;gap:9px}.agmsg-thread__head span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#eaf3ff;color:#096adf;font-weight:900}.agmsg-thread__head strong{font-size:14px;color:#162844}.agmsg-thread__head small{display:block;margin-top:2px;color:#718097;font-size:11px}.agmsg-unread{padding:5px 9px;border-radius:999px;background:#eafbf3;color:#087a50;font-size:11px;font-weight:900}
.agmsg-list{display:flex;flex-direction:column;gap:10px;max-height:390px;overflow:auto;padding:4px 4px 4px 0;scrollbar-width:thin}.agmsg-bubble{max-width:86%;padding:12px 14px;border-radius:16px 16px 16px 5px;background:#fff;border:1px solid #dfe7f0;box-shadow:0 5px 18px rgba(24,55,96,.06)}.agmsg-bubble.is-operator,.agmsg-bubble.is-admin{align-self:flex-end;border-radius:16px 16px 5px 16px;background:#0b79f7;border-color:#0b79f7;color:#fff}.agmsg-bubble.is-system{align-self:center;max-width:96%;background:#f3f6fa;color:#58677d;border-style:dashed}.agmsg-bubble header{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px}.agmsg-bubble header strong{font-size:11px;letter-spacing:.02em}.agmsg-bubble header time{font-size:10px;opacity:.72}.agmsg-bubble p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65}.agmsg-empty{padding:14px;text-align:center;color:#7a8799;font-size:12px}
.agmsg-reply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:14px}.agmsg-reply textarea{width:100%;min-height:82px;resize:vertical;border:1px solid #d4dfec;border-radius:15px;padding:12px 14px;background:#fff;color:#1d2d45;font:inherit;line-height:1.55;outline:none}.agmsg-reply textarea:focus{border-color:#0b79f7;box-shadow:0 0 0 4px rgba(11,121,247,.1)}.agmsg-reply__actions{display:flex;flex-direction:column;gap:8px;min-width:154px}.agmsg-reply select,.agmsg-reply button{min-height:40px;border-radius:12px;font:inherit;font-weight:800}.agmsg-reply select{padding:0 10px;border:1px solid #d4dfec;background:#fff;color:#263751}.agmsg-reply button{border:0;padding:0 15px;background:#0b79f7;color:#fff;cursor:pointer}.agmsg-reply button:hover{filter:brightness(.95)}
.agmsg-contact-card{margin:0 0 18px;padding:16px;border:1px solid #dce7f3;border-radius:18px;background:linear-gradient(135deg,#f3f8ff,#fff)}.agmsg-contact-card small{display:block;color:#6d7d92;font-weight:700}.agmsg-contact-card strong{display:block;margin-top:5px;color:#10294d;font-size:18px}.agmsg-contact-card a{display:inline-flex;margin-top:8px;color:#0b79f7;font-weight:800;text-decoration:none}
.agmsg-admin-thread{margin-top:18px}.agmsg-admin-thread .agmsg-list{max-height:310px}.booking75-request-card.has-unread{box-shadow:0 0 0 2px rgba(11,121,247,.16),0 18px 45px rgba(20,51,91,.08)}
.operator-public-actions .is-message{background:#fff!important;color:#0b79f7!important;border-color:rgba(255,255,255,.7)!important;box-shadow:0 12px 28px rgba(8,31,65,.18)}
@media(max-width:760px){.agmsg-thread{padding:14px;border-radius:16px}.agmsg-bubble{max-width:94%}.agmsg-reply{grid-template-columns:1fr}.agmsg-reply__actions{display:grid;grid-template-columns:1fr 1fr;min-width:0}.agmsg-list{max-height:330px}}
@media(max-width:480px){.agmsg-reply__actions{grid-template-columns:1fr}.agmsg-thread__head{align-items:flex-start}.agmsg-bubble{max-width:100%}}
