/* Jupiter Flash Message */
.jupiter-flash-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85);
    /* Semi-transparent black */
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    /* Rounded corners (pill shape implies modern tooltip look) */
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    text-align: center;
    backdrop-filter: blur(4px);
    /* Optional modern touch */
}

.jupiter-flash-message.show {
    opacity: 1;
    top: 30px;
    /* Slide down effect slightly */
}

/* Phone prefix dropdown styling */
.jupiter-phone-dropdown {
    display: none;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 250px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    margin: 4px 0 0 0;
    list-style: none;
    z-index: 1050;
    max-height: 300px;
    overflow-y: auto;
}

.jupiter-phone-dropdown.show {
    display: block !important;
}

.jupiter-phone-dropdown li {
    margin: 0;
    padding: 0;
}

.jupiter-phone-dropdown li a.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    text-decoration: none;
    box-sizing: border-box;
}

.jupiter-phone-dropdown li a.dropdown-item:hover,
.jupiter-phone-dropdown li a.dropdown-item:focus {
    background-color: #f8f9fa;
    color: #161c2d;
    text-decoration: none;
}

/* Social login button icons */
.jupiter-social-login button i.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1em;
    height: 1.1em;
    vertical-align: middle;
    margin-right: 6px;
    /* Prevent Bootstrap Icons font from rendering a fallback glyph */
    font-family: inherit;
    font-style: normal;
    line-height: 1;
    background-color: transparent;
}

/* Force inline SVG inside .icon to match the icon container size */
.jupiter-social-login button i.icon svg {
    display: block;
    width: 100%;
    height: 100%;
}