
/* Password checklist */
.passRulesZ41 {
    list-style: none;
    padding: 12px 14px;
    margin: 10px 0 18px;
    border: 1px solid rgba(120, 153, 139, .25);
    border-radius: 12px;
    background: rgba(120, 153, 139, .06);
    display: grid;
    gap: 9px;
    font-size: 13px;
}

.passRulesZ41 li {
    color: #78998b;
    transition: color .2s ease, transform .2s ease;
}

.passRulesZ41 li.valid {
    color: #38c982;
    transform: translateX(3px);
}

/* Animated toast message */
.toastZ41 {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    width: min(360px, calc(100% - 32px));
    box-sizing: border-box;
    padding: 15px 18px;
    border-radius: 13px;
    background: #173d2d;
    color: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease,
                visibility .3s ease;
}

.toastZ41.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.toastZ41.error {
    background: #7b2632;
}

@media (max-width: 480px) {
    .toastZ41 {
        top: 12px;
        right: 12px;
    }
  
}

/* Password Reset Success Toast */
.resetToastZ41 {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    width: min(390px, calc(100% - 32px));
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 19px;
    background: linear-gradient(135deg, #123d2a, #217348);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 16px;
    box-shadow: 0 16px 45px rgba(10,65,35,.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(.97);
    transition: opacity .35s ease, transform .35s ease,
                visibility .35s ease;
    overflow: hidden;
}

.resetToastZ41::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        100deg, transparent, rgba(255,255,255,.12), transparent
    );
    animation: resetShineZ41 2.5s ease-in-out infinite;
    pointer-events: none;
}

.resetToastZ41.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.resetToastIconZ41 {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    font-size: 23px;
    animation: resetPopZ41 .55s ease both;
}

.resetToastTextZ41 {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.resetToastTextZ41 strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.resetToastTextZ41 span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,.82);
    overflow-wrap: anywhere;
}

.resetToastProgressZ41 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.18);
}

.resetToastProgressZ41::after {
    content: "";
    display: block;
    height: 100%;
    background: #a7f3c0;
    animation: resetProgressZ41 4.5s linear forwards;
}

@keyframes resetShineZ41 {
    0%, 20% { left: -100%; }
    75%, 100% { left: 140%; }
}

@keyframes resetPopZ41 {
    from { transform: scale(.5) rotate(-20deg); opacity: 0; }
    to { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes resetProgressZ41 {
    from { width: 100%; }
    to { width: 0%; }
}

@media (max-width: 480px) {
    .resetToastZ41 {
        top: 12px;
        right: 12px;
        width: calc(100% - 24px);
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .resetToastZ41,
    .resetToastZ41 *,
    .resetToastZ41::before {
        animation: none !important;
        transition: none !important;
    }
}

