body.modal-open   .RegisterLoginModal {

    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    /* blur */
    -webkit-backdrop-filter: blur(10px);
    -moz-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    min-width: 100vw;
    min-height: 100vh;
  }
  
  .RegisterLoginModal {
    min-height: 100vh !important;
    min-width: 100vw !important;
  }
  
  .register-form label {
    text-align: left;
    display: block;
}
.register-form .flex-column,.login-form .flex-column {
    text-align: left;
    width: 100%;
    display: block;
    padding-top: 10px;
}

  
  .RegisterLoginModal .modal-dialog {
    margin: 0;
    padding: 0 20px;
    z-index:100000;
    min-width: 100vw;
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center ;
  }
  #myRegisterModal .modal-content {
    min-height: fit-content !important;
    height: fit-content  !important;
    max-height: none !important;
    margin:0px 20px 20px 0px;
  }

  #myLoginModal .modal-content, #myRegisterModal .modal-content {
display: flex;
justify-content: center;
margin:0px 20px 20px 0px;
  }

  #myLoginModal .modal-content form, #myRegisterModal .modal-content form {
/* gap:5px; */
  }
  .RegisterLoginModal .modal-content {
    background-color: #1a1c1e !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: fit-content;
    height: fit-content;
    max-width: 450px;
    border-radius: 20px;
    border: 2.5px solid rgb(255, 38, 76, .76);
  }
  .RegisterLoginModal .modal-content {
    background-color: #1a1c1e !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    border-radius: 20px;
    border: 2.5px solid rgb(255, 38, 76, .76);
  }
  
  /* Modal Header */
  .RegisterLoginModal .modal-header {
    /* border-bottom: 2.5px solid rgb(255, 38, 76, .76); */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border:0;
    width: 100%;
  }
  
  .RegisterLoginModal .modal-header h2 {
    margin: 0;
  }
  
  .RegisterLoginModal .modal-header h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
  }
  
  .RegisterLoginModal .modal-header .btn-close {
    height: 5px;
  }
  
  /* Popup Content */
  .RegisterLoginModal .popup-content, #myLoginModal .popup-content{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    padding: 20px 30px;
  }
  
  .RegisterLoginModal .popup-content h2 {
    text-align: center;
    font-weight: 700;
    margin:0;
    padding:0;
    color: #FF264C;
  }
  
  .RegisterLoginModal .popup-content form {
    display: flex;
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100% !important;

    text-align: left;
    justify-content: flex-start;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  .white-close-icon .btn-close::before {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586l6.293-6.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'%3e%3c/path%3e%3c/svg%3e");
}

  .RegisterLoginModal .popup-content label {
    margin-bottom: 5px;
    text-align: left;
    color: white;
    font-weight: 600;
  }
  
  .RegisterLoginModal .popup-content input {
    /* margin-bottom: 10px; */
    margin: 0;
    color: white;
    background-color: transparent;
    /* Auto-fill background color */
  }
  
  /* Input Form Styles */
  .RegisterLoginModal .inputForm {
    border: 1.5px solid #ecedec;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-grow: 1;
    width: 100%;
    padding: 10px 10px;
    gap: 10px;
    color: white;
    transition: 0.2s ease-in-out;
    background: transparent !important;
  }
  
  .RegisterLoginModal .inputForm:focus-within {
    border: 1.5px solid rgb(255, 38, 76, .76);
    color: white;
  }
  
  .RegisterLoginModal .input {
    flex-grow: 1;
    background: transparent;
    border: none;
    height: 100%;
  
    padding: 0 5px;
  }
  
  .RegisterLoginModal svg {
    fill: white;
    stroke: white;
  }
  
  .RegisterLoginModal label {
    text-align: left;
    display: block;
    margin: 0 !important;
  }
  
  .flex-row {
    display: flex;
    width: 95%;
    align-items: center;
    font-size: 15px;
    margin-top: 10px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    justify-content: space-between;
  }
  
  .RegisterLoginModal .input:focus {
    outline: none;
  }
  
  /* Social Buttons */
  .RegisterLoginModal .social-login-btn-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .RegisterLoginModal .twitch-btn,
  .RegisterLoginModal .discord-btn {
    border: none;
    color: white;
    width: 300px;
  }
  
  .RegisterLoginModal .twitch-btn {
    background-color: #6441A4;
  }
  
  .RegisterLoginModal .discord-btn {
    background-color: #7289DA;
  }
  
  /* Miscellaneous */
  .RegisterLoginModal .p {
    text-align: center;
    color: white;
    font-size: 14px;
    margin: 5px 0;
  }
  
  .RegisterLoginModal .button-submit {
    margin: 20px 0 10px 0;
    background-color: #FF264C;
    border: none;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 5px;
    height: 35px;
    width: 100%;
    cursor: pointer;
  
  }
  
  .RegisterLoginModal .button-submit:hover {
    border: 0px solid transparent;
    opacity: .5;
  }
  
  .RegisterLoginModal .btn {
    margin-top: 10px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    gap: 10px;
    border: 0px solid #ededef;
    background-color: white;
    transition: 0.2s ease-in-out;
    cursor: pointer;
  }
  
  .RegisterLoginModal .btn:hover {
    border: 0px solid transparent;
    opacity: .5;
  }
  
/* Remove white background from autofill and set text color to white */
.RegisterLoginModal input:-webkit-autofill,
.RegisterLoginModal input:-webkit-autofill:hover,
.RegisterLoginModal input:-webkit-autofill:focus,
.RegisterLoginModal input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px transparent !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-radius: 5px;
}

/* Set placeholder text color to a semi-transparent white */
.RegisterLoginModal input:-webkit-autofill::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

  
  
  /* Media Queries */
  .twitch-btn {
    background-color: #6441A4;
  }
  
  .modal-content h2 span {
    color: #FF264C;
  }
  
  .modal-content h2 {
    font-weight: 700;
  }
  
  
  
  .RegisterLoginModal h4 {
    font-size: 20px;
    font-weight: 600;
  }
  
  /* .RegisterLoginModal button{
        padding:10px 20px;
        border:0;
        color:white;
        width:300px;	
      } */
  
  .RegisterLoginModal .twitch-btn {
    margin: 20px 0 10px 0;
  
    border: none;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 5px;
    height: 35px;
    width: 100%;
    cursor: pointer;
    background-color: #6441A4;
    border: 0;
    margin: 0;
  }
  
  .RegisterLoginModal .discord-btn {
  
  
    border: none;
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 5px;
    height: 35px;
    width: 100%;
    cursor: pointer;
    background-color: #7289DA;
    /* padding:5px 10px; */
    border: 0;
    margin: 0;
  }
  
  #openRegisterBtn, #myLoginModalBtn{
    font-weight: 700;
    font-size: 18px;
    margin:0;
    background-color: transparent;
    cursor: pointer;
    color: #FF264C;
    border:0px solid transparent;
  
  }
  .social-btn-container {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top:15px;
    flex-direction: column;
  }
  
  .popup-content h2 {
    text-align: center;
  }
  
  .popup-content form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .popup-content input {
    margin-bottom: 10px;
  }

  .error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

