/* These styles are generated from project.scss. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  font-family: Montserrat;
}

h1, h2, h3, h4, h5, h6, th {
  font-family: Montserrat;
}

body {
  background: #f5f5f5;
}

.shadow {
  background: #fff;
}

.card {
  border: none;
}
.card .card-body {
  padding: 0;
}

.btn {
  border-radius: 0;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: rgb(33,57,131);
  border-color: rgb(33,57,131);
}

.btn-outline-primary {
  color: rgb(33,57,131);
  outline-color: rgb(33,57,131);
  text-decoration-color: rgb(33,57,131);
  border-color: rgb(33,57,131);
}

.btn-outline-primary:visited,
.btn-outline-primary:target,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: rgb(33,57,131) !important;
  border-color: rgb(33,57,131) !important;
  outline-color: rgb(33,57,131) !important;
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.navbar {
  background-color: rgb(33,57,131);
}

.header-logo-wrapper {
  margin: 0.2rem 1rem 1.2rem 3.7rem;
}

#comp-m6qm9hsx_r_comp-m6qlsei1 {
  background-color: rgb(33, 57, 131);
}

.rM7ckN {
    /* This aligns the "Emergency" and "User" buttons next to each other */
    display: flex;
    align-items: center;
    gap: 25px; /* Space between the two buttons */
}


/* --- 2. Logo Styles --- */




/* --- 3. "Cyber Emergency" Button Styles --- */

.StylableButton2545352419__root {
    background-color: #ED1C24; /* Red color from your --color_3 variable */
    color: white;
    border-radius: 50px; /* Creates the pill shape */
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif; /* You will need to import this font */
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between text and icon */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.StylableButton2545352419__root:hover {
    background-color: #c41218; /* A darker red on hover */
}

.StylableButton2545352419__icon svg {
  transform: rotate(90deg) !important;
    width: 12px;
    height: 12px;
    fill: white;
  margin-bottom: 2px;
}

.StylableButton2545352419__icon svg:hover {
    fill: rgb(18, 157, 216) !important;
}


/* --- 4. User Account Menu (Avatar + Dropdown) --- */

/* This container is the anchor for the dropdown menu */
.onw4xc {
    position: relative;
}

/* The circular avatar button */
.Avatarbase1803900912__textAvatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 6px 7px;
    border-radius: 50%;
    background-color: rgb(18, 157, 216);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    cursor: pointer;
    overflow: hidden; /* Important for the ::before pseudo-element */
}

/* This pseudo-element IS the initial */
.Avatarbase1803900912__textAvatar::before {
    content: attr(data-initials); /* This is the magic line! */
}

/* The empty <img> tag should not be visible */
.Avatarbase1803900912__textAvatar img {
    display: none !important;
}

/* The dropdown menu itself */
#loginSocialBarCustomMenu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    z-index: 1100;
    background-color: white;
    border: 1px solid #e0e0e0;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    min-width: 120px;
    padding: 10px 0;
    font-weight: bold;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* The "visible" state, toggled by JavaScript */
#loginSocialBarCustomMenu.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

/* Styling for items inside the dropdown */
#loginSocialBarCustomMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#loginSocialBarCustomMenu .cwirl_,
#loginSocialBarCustomMenu button.cwirl_ {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

#loginSocialBarCustomMenu hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid #e9ecef;
}

/* This stylesheet styles the provided HTML to match the target design.
*/

/* Main dropdown menu container */

/* Reset default list styles */
#loginSocialBarCustomMenu .DWBxjW {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Style for individual menu items (links) */
#loginSocialBarCustomMenu .cwirl_ {
    /* Display & Box Model */
    display: block;
    width: 100%;
    padding: 5px 10px;
    box-sizing: border-box;

    /* Typography & Text */
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5;
    color: rgb(33, 57, 131); /* Based on --color_15 */
    text-decoration: none;
    text-align: center;

    /* Interaction & Transitions */
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover state for all menu items */
#loginSocialBarCustomMenu .cwirl_:hover {
    color: rgb(18, 157, 216);
}

/* Separator line styling */
#loginSocialBarCustomMenu li[role="separator"] {
    margin: 8px 0;
}

#loginSocialBarCustomMenu li[role="separator"] hr {
    margin: 0;
    border: none;
    height: 1px;
    background-color: rgb(227, 227, 227); /* Light gray separator, based on --color_39 */
}

/* The logout button is inside a form. We must reset the form's margin
  and ensure the button fills the available space to be clickable like
  the other menu items. The `.cwirl_` class handles most of the styling.
*/
#loginSocialBarCustomMenu ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}


#loginSocialBarCustomMenu button.cwirl_ {
    /* Ensure the button inherits the same font as the links */
    font-family: inherit;
}

.dRWtXC {
    right: 14px;
}

.RmRRRx {
    background-color: rgb(255, 255, 255);
    border: 0px;
    border-radius: 0px;
    box-shadow: none;
    box-sizing: border-box;
    display: none;
    /* font-family: orig_montserrat_semibold; */
    font-size: 14px;
    max-width: 300px;
    min-width: 100px;
    padding: 10px 0;
    position: absolute;
    top: calc(100% + var(--brw, 0px));
    z-index: 99999;
}

#loginSocialBarCustomMenu .cwirl_.ZAXI7h {
  color: rgb(18, 157, 216);
}
