/* Remove the Google Translate banner display */
body > .skiptranslate {
    display: none;
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #002657;
    border-image: linear-gradient(
      45deg,
      #0021a5,#002657
    ) 3;
    position: relative;
    background-color: #ffffff;
    z-index: 10;
}

/* Branding logos — absolutely centered so they sit in the middle
   of the navbar independently of the left and right sections. */
.branding-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    pointer-events: none; /* let clicks pass through to elements behind */
    border-left: 1px solid black;
}

/* Right-side auth actions */
.nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
    padding-right: 24px;
}

.nav-email {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #002657;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: .2s ease-in-out;
}

.nav-email p {
    font-size: 15px;
    font-weight: 600;
    color: #002657;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 315px;
    margin: 0;
}

.nav-email-icon {
    background: #002657;
    height: 35px;
    width: 35px;
    text-align: center;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-email:hover p {
    border-bottom: 1px solid #002657;
}

.nav-email:hover .nav-email-icon {
    background-image: linear-gradient(90deg, #002657, #0021a5)
}

/* Shared nav button base */
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    box-shadow: none;
    transform: none;
    background-image: none;
    transition:
        background 220ms cubic-bezier(0.4, 0, 0.2, 1),
        border-color 220ms cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Primary: filled blue (Sign in) */
.nav-btn--primary {
    background: #002657;
    background-image: none;
    border-color: #002657;
    color: #ffffff;
    box-shadow: none;
    transform: none;
}

.nav-btn--primary:hover {
    background-image: linear-gradient(45deg, #002657, #004fb7);
    border-color: #002657;
    box-shadow: 0 4px 12px rgba(0,33,165,0.25);
    transform: none;
}

/* Ghost: outlined blue (Sign up, Log out) */
.nav-btn--ghost {
    background: transparent;
    background-image: none;
    border-color: #d0d4e0;
    color: #0021a5;
    box-shadow: none;
    transform: none;
}

.nav-btn--ghost:hover {
    border-color: #0021a5;
    background: rgba(0,33,165,0.04);
    background-image: linear-gradient(45deg, #0021a50a, #00265700);
    box-shadow: none;
    transform: none;
}


.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: #002657;
    border-top: 3px solid #002657;
    border-image: linear-gradient(
      45deg,
      #0021a5,#002657
    ) 3;
    align-self: flex-end;
}

.footer p, .footer button {
    font-size: 19px;
    margin: 5px 0;
    color: white;
}

.footer button {
    font-size: 15px;
    margin: 5px 0;
    color: #002657;
    background-color: white;
}

.footer button:hover {
    background-image: none;
}

.share-area {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.modal-share {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content-share {
  background-color: #fff;
  margin: 15% auto;
  padding: 35px;
  border-radius: 8px;
  width: 55%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.close-share {
  color: #aaa;
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 24px;
  cursor: pointer;
}

.close-share:hover {
  color: #000;
}

.modal-content-share .share-area {
    border: 1px solid #002657;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    width: 75%;
}

#copy-success, #copy-success-provider, #copy-success-patient {
    visibility: hidden;
    font-size: 17px;
}

#copy-share-link, #copy-share-link-provider, #copy-share-link-patient {
    width: 30%;
    border-radius: 0px 15px 15px 0px;
    height: 55px;
    font-size: 17px;
}

#copy-share-link:hover, #copy-share-link-provider:hover, #copy-share-link-patient:hover {
    transform: none;
}

#share-link, #share-link-provider, #share-link-patient {
    width: 70%;
    font-size: 17px;
    white-space: nowrap;        /* Prevent text wrap */
    overflow-x: auto;           /* Enable horizontal scroll if needed */
    overflow-y: hidden; 
    height: 55px;
    line-height: 55px;
    margin: 0px 5px;
}

#share-link::-webkit-scrollbar, #share-link-provider::-webkit-scrollbar, #share-link-patient::-webkit-scrollbar {
    height: 6px;
}

#share-link::-webkit-scrollbar-thumb, #share-link-provider::-webkit-scrollbar-thumb , #share-link-patient::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#share-link::-webkit-scrollbar-track, #share-link-provider::-webkit-scrollbar-track, #share-link-patient::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.main-area {
    display: flex;
    flex-direction: row;
    align-items: center;
}

img {
    height: 75px;
}

.branding-logos {
    height: 40px !important;
    margin: 0px 11px;
}

.header-logo {
    height: 55px !important;
    background-color: #dae5ff;
    border-radius: 50%;
    padding: 5px;
}

.navbar-title {
    font-weight: 500;
    font-size: 25px;
    margin: 0px 15px 0px 5px;
}

@media only screen and (max-width: 600px) {
    .navbar-title {
        font-size: 15px;
        margin: 0px 5px;
        width: 130px;
    }

    .header-logo {
        height: 40px !important;
    }

    .branding-logos {
        height: 30px !important;
        margin: 3px 3px;
    }

    .main-area {
        width: 100% !important;
    }

    .nav-actions {
        gap: 5px;
        flex-direction: column;
        padding-right: 0px;
    }

    .nav-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}