/* Cloud Bot — standalone for Hostinger (cloud-bot-2026-08-04) */
/* —— Cloud Bot chat agent —— */
.cloud-bot .visually-hidden,
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.cloud-bot {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 1090;
    font-family: inherit;
}
.cloud-bot__launcher {
    position: relative;
    width: 72px;
    height: 72px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(5, 7, 10, 0.35);
}
.cloud-bot__launcher-avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: block;
    border: 0;
    background: #05070a;
    object-fit: cover;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.cloud-bot__launcher-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(0, 229, 255, 0.45);
    animation: cloud-bot-pulse 2.2s ease-out infinite;
    pointer-events: none;
}
.cloud-bot.is-open .cloud-bot__launcher-pulse { display: none; }
@keyframes cloud-bot-pulse {
    0% { transform: scale(0.92); opacity: 0.85; }
    100% { transform: scale(1.25); opacity: 0; }
}
.cloud-bot__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #e040fb;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #05070a;
}
.cloud-bot__panel {
    position: absolute;
    right: 0;
    bottom: 88px;
    width: min(380px, calc(100vw - 1.5rem));
    height: min(520px, calc(100vh - 7rem));
    display: flex;
    flex-direction: column;
    background: #0a1220;
    color: #e8f4f7;
    border: 1px solid rgba(0, 229, 255, 0.28);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(5, 7, 10, 0.45);
}
.cloud-bot__panel[hidden] { display: none !important; }
.cloud-bot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    background: linear-gradient(135deg, #05070a 0%, #121c2e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cloud-bot__identity {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.cloud-bot__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    object-fit: cover;
}
.cloud-bot__msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    flex-shrink: 0;
    object-fit: cover;
}
.cloud-bot__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}
.cloud-bot__status {
    margin: 0.1rem 0 0;
    font-size: 0.78rem;
    color: #8eb8bc;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.cloud-bot__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.cloud-bot__close {
    border: 0;
    background: transparent;
    color: #9fb2bc;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    cursor: pointer;
}
.cloud-bot__close:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.cloud-bot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background:
        radial-gradient(circle at top right, rgba(0, 229, 255, 0.08), transparent 40%),
        #0a1220;
}
.cloud-bot__row {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    max-width: 92%;
}
.cloud-bot__row--bot { align-self: flex-start; }
.cloud-bot__row--user { align-self: flex-end; flex-direction: row-reverse; }
.cloud-bot__bubble {
    padding: 0.7rem 0.85rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.45;
}
.cloud-bot__bubble--bot {
    background: #121c2e;
    border: 1px solid rgba(0, 229, 255, 0.18);
    color: #e8f4f7;
    border-bottom-left-radius: 4px;
}
.cloud-bot__bubble--user {
    background: linear-gradient(135deg, #00a8c5 0%, #00e5ff 100%);
    color: #05070a;
    border-bottom-right-radius: 4px;
}
.cloud-bot__typing {
    display: inline-flex;
    gap: 0.28rem;
    align-items: center;
    min-width: 52px;
}
.cloud-bot__typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7ef9ff;
    animation: cloud-bot-dot 1s infinite ease-in-out;
}
.cloud-bot__typing span:nth-child(2) { animation-delay: 0.15s; }
.cloud-bot__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes cloud-bot-dot {
    0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}
.cloud-bot__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-left: 2.1rem;
}
.cloud-bot__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(0, 229, 255, 0.35);
    background: transparent;
    color: #7ef9ff;
    cursor: pointer;
}
.cloud-bot__action.is-primary,
a.cloud-bot__action.is-primary {
    background: #05070a;
    color: #fff;
    border-color: rgba(0, 229, 255, 0.55);
}
.cloud-bot__action:hover { background: rgba(0, 229, 255, 0.12); color: #fff; }
.cloud-bot__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #05070a;
}
.cloud-bot__quick[hidden] { display: none !important; }
.cloud-bot__chip {
    border: 1px solid rgba(0, 229, 255, 0.3);
    background: #121c2e;
    color: #e0fbfc;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    cursor: pointer;
}
.cloud-bot__chip:hover {
    border-color: #00e5ff;
    color: #fff;
}
.cloud-bot__composer {
    display: flex;
    gap: 0.45rem;
    padding: 0.7rem 0.8rem 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #05070a;
}
.cloud-bot__input {
    flex: 1;
    border: 1px solid rgba(0, 229, 255, 0.25);
    background: #0a1220;
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 0.95rem;
    outline: none;
}
.cloud-bot__input:focus { border-color: #00e5ff; }
.cloud-bot__send {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #00e5ff 0%, #9d00ff 100%);
    color: #05070a;
    cursor: pointer;
}
.cloud-bot__send:hover { filter: brightness(1.08); }

.cloud-bot-contact {
    margin: 0.15rem 0 0.35rem 2.1rem;
    padding: 0.85rem;
    border-radius: 14px;
    background: #121c2e;
    border: 1px solid rgba(0, 229, 255, 0.22);
    max-width: 100%;
}
.cloud-bot-contact__intro {
    margin: 0 0 0.7rem;
    font-size: 0.82rem;
    color: #9fb2bc;
    line-height: 1.4;
}
.cloud-bot-contact__form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.cloud-bot-contact__field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #8eb8bc;
    margin-bottom: 0.25rem;
}
.cloud-bot-contact__control {
    width: 100%;
    border: 1px solid rgba(0, 229, 255, 0.25);
    background: #0a1220;
    color: #fff;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    font-size: 0.88rem;
    outline: none;
    resize: vertical;
}
.cloud-bot-contact__control:focus {
    border-color: #00e5ff;
}
.cloud-bot-contact__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}
.cloud-bot-contact__status {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.35;
}
.cloud-bot-contact__status.is-error {
    color: #ff8fab;
}
.cloud-bot-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}
.cloud-bot-contact__actions .cloud-bot__action {
    flex: 1 1 auto;
}

@media (max-width: 575px) {
    .cloud-bot {
        right: 0.75rem;
        bottom: 0.75rem;
    }
    .cloud-bot__panel {
        bottom: 82px;
        height: min(70vh, 520px);
    }
}

