

/* hack for weird mobile layout issue */
.container-fluid {
    padding-right: 0px !important;
}

.section-hidden {
    display: none !important;
}

:root {
    --breakpoint-md: 768px
}


body {
  font-size: 14px;
  line-height: 1.8;
  color: #222;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
  background-image: url("/assets/images/faux_background_blur.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0px 0;
  margin: 0px;
  height: 100%;
  }

.logo {
    margin: auto;
    max-width: 500px;
    margin-bottom: 50px;
    margin-top: 50px;
    width: calc(100% - 50px);
}

.auth-container {
    height: fit-content;
    padding-bottom: 100px;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
}

.post-border {
    border-bottom: 1px solid #7e7e7e;
    text-decoration: line-through;
    width: calc(50% - 25px);
    height: 35px;
    float: left;
}

.pre-border {
    border-bottom: 1px solid #7e7e7e;
    text-decoration: line-through;
    width: calc(50% - 25px);
    height: 35px;
    float: left;
}

.or-border {
    margin: auto;
    width: 50px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #7e7e7e;
    float: left;
}

.or-spacer {
    height: 50px;
}

.form-container {
  max-width: 550px;
  position: relative;
  margin: 0 auto;
    background: #fff;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -o-border-radius: 10px;
  -ms-border-radius: 10px;
  padding: 50px 45px;
}

button {
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 50px !important;
    border: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 230px
    color: #FFF;
}

.pointer,
button {
    cursor: pointer
}

[mat-button] {
    position: relative
}

button.apple-button {
    justify-content: flex-start;
    background-color: #000000;
    font-size: 15px;
    height: 50px !important;;
    width: 240px;
    border-radius: 0px !important;
}


.highlight {
    position: absolute;
    height: 60%;
    width: 0;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0
}

.bar {
    position: relative;
    display: block
}

.bar:after,
.bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: 0 0;
    transition: .2s ease all;
    -moz-transition: .2s ease all;
    -webkit-transition: .2s ease all
}


.white-bg {
    background-color: #fff
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #f28b2b transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.section-hidden {
    display: none !important;
}

.password-field-default {
    opacity: 0;
    max-height: 0px;
    transition: max-height .5s ease-in-out, opacity .5s ease-in-out;
    scroll-behavior: smooth;
}

.password-field-always {
    scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

.primary-bg {
    background-color: #ce37ba
}

.white {
    color: #fff
}

.white-bg {
    background-color: #fff
}

h2 {
  line-height: 1.66;
  margin: 0;
  padding: 0;
  font-weight: 900;
  color: #222;
  font: 600 25px/37.5px Montserrat,sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px; }


input:focus~label,
input:valid~label,
input.prefilled~label{
    top: -10px;
    font-size: 12px;
    background-color: #fff !important
}

.group-container {
    height: auto
}

.group-container .error {
    display: inline-block;
    padding: 2px 0 0 10px;
    font-size: 11px;
    height: 11px;
    width: 100%;
    text-align: left
}

.group {
    position: relative;
    border-radius: 5px
}

.group-container .error,
.group.invalid label {
    color: red !important
}

.group.invalid {
    border: 1px solid red
}

.group:not(.invalid) {
    border: 1px solid #7f7f7f
}

.group:not(.invalid) label {
    color: #7f7f7f
}

.group input {
    font-size: 16px;
    padding: 10px 10px 10px 10px !important;
    height: auto !important;
    display: block;
    background: 0 0;
    outline: 0;
    border: none;
    width: 100%
}

.group,
.group input {
    border-radius: 5px
}

.group label {
    font-size: 14px;
    font-weight: 400;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 11px;
    padding: 0 5px;
    transition: .2s ease all;
    -moz-transition: .2s ease all;
    -webkit-transition: .2s ease all
}

.form-title {
    margin-bottom: 50px;
}

.m-centered {
    margin-left: auto;
    margin-right: auto;
}

.social-login {
    margin-top: 10px;
    text-align: center;
    max-width: 250px;
    cursor: pointer;
}

.social-login img {
    width: 100%;
}

.msft-button img {
    width: calc(100% - 8px) !important;
}

.auth-hint {
    text-decoration: underline;
    color: #7f7f7f;
    width: fit-content;
    margin-top: 10px;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
}

.general-error {
    color: red !important;
    font-size: 15px;
    text-align: center;
    height: fit-content;
}

.disabled {
    background-color: #dedede !important;
    cursor: auto !important;
}

.g-recaptcha div {
    margin: auto;
}

.app-link {
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px;
    margin-left: 20px;
}

input:disabled {
    color: #5e5e5e;
    background-color: #dedede;
}

.hidden {
    display: none;
}

.error-message {
    text-align: center;
    color: red;
    font-size: 18px;
    margin-top:20px;
}

.invitation-row {
    display: flex;
    border: 1px solid #a4a4a4;
    margin: auto;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 5px;
}

.invitation-name {
    line-height: 45px;
    width: 80%;
    font-size: 20px;
    font-family: Montserrat,sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

.invitation-button {
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  padding: 17px 20px;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background-image: -moz-linear-gradient(to right,#f28b2b,#e5286a,#ce37ba);
  background-image: -ms-linear-gradient(to right,#f28b2b,#e5286a,#ce37ba);
  background-image: -o-linear-gradient(to right,#f28b2b,#e5286a,#ce37ba);
  background-image: -webkit-linear-gradient(to right,#f28b2b,#e5286a,#ce37ba);
  background-image: linear-gradient(to right,#f28b2b,#e5286a,#ce37ba)
}

.invitations-scroll {
    max-height: 200px;
    overflow: scroll;
}


.background {
    position: fixed;
    background-color: rgba(0,0,0,.6);
    width: 100%;
    height: 100%;
}




.lds-ring-small {
    right: 0px;
    display: inline-block;
    position: absolute;
    width: 50px;
    height: 50px;
    float: right;
    top: 0px;
}
.lds-ring-small div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  margin: 8px;
  border: 5px solid #fff;
  border-radius: 50%;
  animation: lds-ring-small 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #f28b2b transparent transparent transparent;
}
.lds-ring-small div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring-small div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring-small div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring-small {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

custom-form {
    max-width: 800px;
    margin: auto;
    font-family: sans-serif;
  }
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-row {
    display: flex;
    gap: 20px;
  }
  
  .form-row .form-group {
    flex: 1;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
  }
  
  .required {
    color: red;
  }
  
  .form-input {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background-color: #f8fafc;
  box-sizing: border-box;
  font-size: 16px;
}

  
  input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  }
  
  .submit-btn {
    background-color: #fc7c5f;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .submit-btn:hover {
    background-color: #e96348;
  }

/* Unified phone + country code field (Create Organization page) */
.phone-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  background-color: #f8fafc;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Match .form-input:focus glow when either country code or number has focus */
.phone-wrapper:focus-within {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.country-toggle {
  min-width: 45px;
  max-width: 80px;
  border: none;
  background: transparent;
  text-align: right;
  cursor: pointer;
  font-weight: 500;
  padding: 8px 4px;
}

.country-toggle:after {
  content: '\25BE';
  float: right;
  margin-left: 5px;
  opacity: 0.6;
}

.phone-wrapper input[type="tel"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 8px;
  box-shadow: none;
  background: transparent;
  font-size: 16px;
}

.country-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  z-index: 9999;
  display: none;
}

.country-dropdown.open { display: block; }

.country-item {
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
}

.country-item:hover { background: #f6f6f6; }
