@import '_content/Taskplan.UI/Taskplan.UI.v9d7eyp1n3.bundle.scp.css';

/* /Components/Controls/PasswordField.razor.rz.scp.css */
/* The box has to make room for the button, or the two overlap on a long password.

   `::deep` because the input is drawn by `InputText` and therefore carries that component's scope
   attribute rather than this one's -- the same rule the calendar's stylesheet leans on for the
   vendor's markup (D-028). Anchoring on `.tp-password`, which is ours, is what lets the rule reach it.

   Bootstrap's `form-floating` is not built to hold a second control, so the button is taken out of the
   flow entirely rather than fought with an `input-group`: an input group and a floating label disagree
   about which element owns the rounded corner, and the result looks broken at exactly the width where
   nobody is testing. */
.tp-password[b-hm5edcce3i] {
    position: relative;
}

.tp-password[b-hm5edcce3i]  .form-control {
    padding-right: 2.75rem;
}

/* Edge draws its own reveal button inside every password box, so the field showed two eyes side by
   side -- invisible in Chrome, which draws none, and therefore not noticed until somebody opened the
   sign-in page in Edge.

   Ours stays rather than Edge's, because Edge's exists only in Edge: keeping the browser's would mean
   the control is there for some visitors and missing for the rest, and the page would have to be
   designed for both cases at once. `::-ms-clear` goes with it -- same button family, same surprise.

   Prefixed selectors are invalid to engines that do not know them, and an unknown selector invalidates
   the whole rule it is in -- so these two get a rule of their own rather than being folded into the
   one above. */
.tp-password[b-hm5edcce3i]  .form-control::-ms-reveal,
.tp-password[b-hm5edcce3i]  .form-control::-ms-clear {
    display: none;
}

/* Centred on the box rather than on the wrapper: the validation message lives in the same wrapper and
   grows it downwards, and a button centred on all of that would drift below the field the moment a
   password was rejected. `top: 0` with the height of the floating box -- 3.5rem, Bootstrap's own -- is
   what keeps it still. */
.tp-password-eye[b-hm5edcce3i] {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 3.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bs-secondary-color, #6c757d);
    cursor: pointer;

    /* Above the input so the click lands on the button, and above the floating label, which spans the
       whole width of the box and would otherwise swallow the pointer. */
    z-index: 3;
}

.tp-password-eye:hover[b-hm5edcce3i],
.tp-password-eye:focus-visible[b-hm5edcce3i] {
    color: var(--bs-body-color, #212529);
}

/* The two glyphs (D-150). No `display` here: the pair of rules below own that question, and a third
   voice in it would be settled by source order rather than by intent. */
.tp-password-eye .tp-i[b-hm5edcce3i] {
    font-size: 1.125rem;
}

/* Which of the two icons is drawn. The class is put on by the script; everything else about the two
   states is here, so the script never touches a style. */
.tp-password-eye .tp-eye-shut[b-hm5edcce3i],
.tp-password.tp-password-shown .tp-password-eye .tp-eye-open[b-hm5edcce3i] {
    display: none;
}

.tp-password.tp-password-shown .tp-password-eye .tp-eye-shut[b-hm5edcce3i] {
    display: block;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-2dk5sfvdfx],
.components-reconnect-repeated-attempt-visible[b-2dk5sfvdfx],
.components-reconnect-failed-visible[b-2dk5sfvdfx],
.components-pause-visible[b-2dk5sfvdfx],
.components-resume-failed-visible[b-2dk5sfvdfx],
.components-rejoining-animation[b-2dk5sfvdfx] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-retrying[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-failed[b-2dk5sfvdfx],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-2dk5sfvdfx] {
    display: block;
}


#components-reconnect-modal[b-2dk5sfvdfx] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-2dk5sfvdfx 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-2dk5sfvdfx 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-2dk5sfvdfx 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-2dk5sfvdfx]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-2dk5sfvdfx 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-2dk5sfvdfx {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-2dk5sfvdfx {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-2dk5sfvdfx {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-2dk5sfvdfx] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-2dk5sfvdfx] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-2dk5sfvdfx] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-2dk5sfvdfx] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-2dk5sfvdfx] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-2dk5sfvdfx] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-2dk5sfvdfx] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-2dk5sfvdfx 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-2dk5sfvdfx] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-2dk5sfvdfx {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
