/* Optional wrapper — aligns button to the right */
.howToDoVideo-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 16px;
    padding: 0 4px;
    position: relative;
    z-index: 1;
}

/* howToDoVideo button — ContaÁgil primary rectangular (#0083f6) */
.howToDoVideo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    background: #0083f6;
    color: #fff;
    font-family: 'Inter', 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.howToDoVideo:hover,
.howToDoVideo:focus {
    background: #0072e2;
    color: #fff;
    outline: none;
    text-decoration: none;
}

.howToDoVideo:active {
    background: #0060c0;
}

/* Outline / vazado — fundo transparente, borda e texto azuis */
.howToDoVideo.howToDoVideo--outline {
    background: transparent !important;
    background-color: transparent !important;
    color: #0083f6 !important;
    border: 1px solid #0083f6 !important;
}

.howToDoVideo.howToDoVideo--outline:hover,
.howToDoVideo.howToDoVideo--outline:focus {
    background: rgba(0, 131, 246, 0.08) !important;
    background-color: rgba(0, 131, 246, 0.08) !important;
    color: #0072e2 !important;
    border-color: #0072e2 !important;
    outline: none;
    text-decoration: none;
}

.howToDoVideo.howToDoVideo--outline:active {
    background: rgba(0, 131, 246, 0.14) !important;
    background-color: rgba(0, 131, 246, 0.14) !important;
    color: #0060c0 !important;
    border-color: #0060c0 !important;
}

.howToDoVideo.howToDoVideo--outline [data-lucide],
.howToDoVideo.howToDoVideo--outline svg {
    stroke: currentColor !important;
    color: inherit !important;
}

.howToDoVideo-label {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.howToDoVideo [data-lucide],
.howToDoVideo svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

/* Video modal — centered + dimmed/blurred backdrop */
.howToDoVideo-modal.modal {
    padding: 0 !important;
}

.howToDoVideo-modal.modal.howToDoVideo-modal--active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.howToDoVideo-modal .modal-dialog {
    width: min(706px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    height: 575px;
    max-height: calc(100vh - 32px);
    margin: 0;
    flex-shrink: 0;
}

.howToDoVideo-modal__sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
}

.howToDoVideo-embed {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    background: #111827;
    overflow: hidden;
}

.howToDoVideo-embed iframe {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.howToDoVideo-poster {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    cursor: pointer;
    background-color: #111827;
    background-size: cover;
    background-position: center;
}

.howToDoVideo-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    margin: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    transform: translate(-50%, -50%);
}

.howToDoVideo-play::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: 3px;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #0083f6;
    transform: translate(-40%, -50%);
}

.howToDoVideo-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #4b5563;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
    text-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.howToDoVideo-modal__close:hover,
.howToDoVideo-modal__close:focus {
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    outline: none;
}

.howToDoVideo-modal__body {
    padding: 24px 28px;
    flex-shrink: 0;
    font-family: 'Inter', 'Ubuntu', sans-serif;
}

.howToDoVideo-modal__body h2 {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    color: #1a2744;
}

.howToDoVideo-modal__body p {
    margin: 10px 0 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #4b5563;
}

.howToDoVideo-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 24px;
}

.howToDoVideo-modal__later {
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    background: #0083f6;
    color: #fff;
    font-family: 'Inter', 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}

.howToDoVideo-modal__later:hover,
.howToDoVideo-modal__later:focus {
    background: #0072e2;
    color: #fff;
    outline: none;
    text-decoration: none;
}

body.modal-open .modal-backdrop.howToDoVideo-backdrop,
.modal-backdrop.howToDoVideo-backdrop {
    background: rgba(15, 23, 42, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
