
/*****************************
SPINNING GIF DIV
*****************************/

#loadingGifDiv{
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  position: fixed;
  background: rgb(0 0 0 / .5);
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  overflow: auto;
  z-index: 99;
}

#loadingGif{
  height: auto;
  max-width: 50px;
}


/*****************************
TOP ICONS
*****************************/
.settingIcon{
  width: 40%;
}
.guideIcon{
  width: 40%;
}
.cameraIcon{
  width: 75%;
}

#guideA{
  display: flex;
  justify-content: flex-start;
}

#settingA{
    display: flex;
    justify-content: flex-end;
}

/*****************************
CAMERA
*****************************/
#cameraRow{
    display: flex;
    justify-content: center;
}

#cameraIconDiv{
    width: 30%;
}

/*****************************
EMERGENCY ICONS
*****************************/
#emergencySection{
    display: flex;
    flex-direction: column;
}

#amboIconE{
    display: flex;
    justify-content: center;
}

#amboIcon{
    width: 30%;
}

#middleE{
    width: 100%;
    display: flex;
    flex-direction: row;
}

#policeIconA{
    width: 50%;
    display: flex;
    justify-content: flex-start;
}

#policeIcon{
    width: 60%;
}

#fireIconA{
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

#fireIcon{
    width: 60%;
}

#bottomE{
    display: flex;
    justify-content: center;
}

#sosIcon{
    width: 30%;
}

/*****************************
BODY STYLING
*****************************/

body {
    /* Define a linear gradient starting from top to bottom */
    background: linear-gradient(to bottom, #a2d9ce, #5dade2);
    
    /* Ensure the gradient covers the entire page */
    min-height: 100vh;
    
    /* Gradient should cover the background size */
    background-size: cover;
    
    /* Center the background image */
    background-position: center;
    
    /* Make sure the background is fixed so it doesn't scroll with the content */
    background-attachment: fixed;
  }

/*****************************
MAIN DISPLAY SHOWING ICONS
*****************************/

#mainDisplay{
  height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
  

#formResponseDiv{
  display: none;
  background-color: yellow;
  z-index: 99;
  border-radius: 10px;
  border: solid;
  text-align: center; 
  flex-direction: column;
}

#closeResponseButton{
  text-align: right;
  font-size: x-large;
  margin-right: 5%;
}



/*****************************
VIDEO STREAMING DIV
*****************************/
#mainRecordingBody{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #333232;
    height: 100vh;
    justify-content: space-around;
    top: 0;
    left: 0;
    position: fixed;
    width: 100vw;
    z-index: 100
}

#stopRecording{
  width: 40%;
}

/*****************************
MAIN BODY IN CALL
*****************************/
#mainBodyCall{
  height: 96vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
}

#topSectionCall{
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

#sosIconA{
  display: flex;
  justify-content: center;
  margin-bottom: 5%;
}

#sosIconCall{
  width: 25%;
}

#bottomButtonCall{
  display: flex;
  flex-direction: row;
  height: 50%;
  align-items: center;
}

#centralButtons{
  height: 25%;
}

#speakerIcon{
  width: 50%;
}

#cameraInputCall{
  width: 50%;
}

#cameraIconACall{
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

#speakerIconA{
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

#endCallA{
  display: flex;
  align-items: center;
  justify-content: center;
}

#endCallIcon{
  width: 75%;
}

#remoteVideo{
  display: none !important;
}


/*****************************
MODAL
*****************************/
#loginModal{
  display: block;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  z-index: 2; /* Sit on top */
}

#registrationModal{
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  z-index: 1; /* Sit on top */
}

#settingsModal{
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    left: 0;
    top: 0;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    z-index: 1; /* Sit on top */
}
  
  /* Modal Content */
  #innerModal {
    max-width: 350px;
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    border: solid 3px;
  }
  
  /* The Close Button */
  .closeButton {
    color: #fff;
    float: right;
    font-weight: bold;
    background-color: #ba2552;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.2s;
    font-size: xx-large;
    padding: 0px 8px;
    
  }
  
  .closeButton:hover,
  .closeButton:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
.inputDiv{
    display: flex;
    flex-direction: column;
}

.inputDiv input{
    margin-bottom: 2%;
    font-size: x-large;
    -webkit-text-fill-color: black;
    background-color: rgba(160, 203, 255, 0.3);
}

.userHelpTickDiv{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    margin-bottom: 5%;
    margin-top: 5%;
}

#dobInput{
    font-size: xx-large;
}

#qrText{
  color: white;
}

#qrModal{
  display: none;
  justify-content: center;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  z-index: 3; /* Sit on top */
}

#qrInnnerModal{
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#iphoneInstallContainer{
  display: none;
  justify-content: center;
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  z-index: 3; /* Sit on top */
}

#iphoneInstallInnerDiv{
  display: flex;
  align-content: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

#iphoneInstallInnerDiv p{
  color: white;
  text-align: center;
  font-size: xx-large;
}

/*****************************
MEDICAL HISTORY STYLE
*****************************/

.form-section:nth-child(odd) {
    background-color: #f9f9f9;
}
.form-section:nth-child(even) {
    background-color: #e9e9e9;
}
.form-section p{
    margin-bottom: 5%;
    margin-top: 5%;
}
.form-section{
    margin-bottom: 5%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    
}

/*****************************
MY BTN
*****************************/



.myBtn{
    background-color: #ba2552;
    width: 20%;
    cursor: pointer;
    color: #fff;
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.2s;
    width: auto;
    padding: 10px 30px; /* Adjust as needed */
    font-size: 18px; /* Adjust size as needed */
    font-weight: bold; /* Make the text stand out */
    letter-spacing: 1px; /* Increase readability */
    padding: 12px 24px; /* Adjust padding to ensure ample space around the text */
  }
  
  .myBtn:focus {
    outline: none; /* Remove the default focus outline */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ba2552; /* Custom focus style */
  }
  
  .myBtn:hover{
    background-color: #a31e45;
    transform: scale(1.05);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.2s;
  }
  
  .myBtn:active {
    background-color: #8a1a3b; /* Even darker for active/click */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Optional: inner shadow to simulate a pressed effect */
  }
  
  .myBtnBlue{
    background-color: #dbe8f8;
    width: 20%;
    cursor: pointer;
    color: black;
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.2s;
    width: auto;
    padding: 10px 30px; /* Adjust as needed */
    font-size: 18px; /* Adjust size as needed */
    font-weight: bold; /* Make the text stand out */
    letter-spacing: 1px; /* Increase readability */
    padding: 12px 24px; /* Adjust padding to ensure ample space around the text */
  }
  
  .myBtnBlue:focus {
    outline: none; /* Remove the default focus outline */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #b0c9dc; /* Custom focus style */
  }
  
  .myBtnBlue:hover{
    background-color: #c5d8ea;
    transform: scale(1.05);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.2s;
  }
  
  .myBtnBlue:active {
    background-color: #9db1cc; /* Even darker for active/click */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); /* Optional: inner shadow to simulate a pressed effect */
  }


/*****************************
TOGGLE SWITCHS 
*****************************/



  /* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
/*****************************
USER GUIDE
*****************************/

#guideDiv{
  position: fixed;
  top: 0;
  display: none;
  height: 100vh;
  width: 100%;
  height: 100vh;
  left: 0;
  /*background-color: rgb(0, 0, 0, 0.5);*/
  align-items: center;
}

#centralGuideDiv{
  top: 2%;
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 4;
  background: white;
  border: solid;
  border-radius: 10px;
}

#settingBody{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#closeGuideButton{
  text-align: right;
  margin-right: 5%;
  font-size: xxx-large;
  cursor: pointer;
}

.bulletRotation{
  display: none;
  flex-direction: column;
}

.bulletRotation h2{
  text-align: center;

}

.guideBullets{
  padding-inline-start: 25px;
}

#bottomOfGuide{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

#stepNumber{
  flex:1;
  -webkit-flex:1;
  -ms-flex:1;
  line-height:54px;
  color:#fff;
  margin-left:25px;
  font-size:18px;
}

#guideBackButton{
  flex: 2;
  background-color:#6cb5f3;
  border:0;
  margin:0;
  padding:0;
  text-transform:uppercase;
  color:#fff;
  font-weight:bold;
  border-bottom-left-radius:6px;
  cursor:pointer;
  transition:all .3s;
}

#stepNumberBullets{
  flex:2;
  -webkit-flex:2;
  -ms-flex:2;
  list-style:none;
  height: 10px;
  margin: 23px 0;
  padding-left: 15px;
}

.inactiveStepNumber{
  position:relative;
  height:7px;
  width:7px;
  margin:0 10px;
  float:left;
  border-radius:50%;
  background:none;
  border:1px solid #535560;
}

#guideButton{
  flex: 2;
  background-color:#6cb5f3;
  border:0;
  margin:0;
  padding:0;
  text-transform:uppercase;
  color:#fff;
  font-weight:bold;
  border-bottom-right-radius:6px;
  cursor:pointer;
  transition:all .3s;
}


@keyframes pulseAnimation {
  0% {
    box-shadow: 0 0 0 0px rgba(255, 0, 0, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    transform: scale(1.5);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(255, 0, 0, 0);
    transform: scale(1);
  }
}

#redDot {
  display: none;
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 50%;
  animation: pulseAnimation 2s infinite;
}


  
/*****************************
INSTALL CONTAINER
*****************************/

#installContainer{
  display: flex;
  position: fixed;
  top: 0;
  z-index: 98;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  animation: pulseAnimation 2s infinite;
}

#pushNotificationDiv{
  display: none;
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  
}

.onesignal-customlink-container{
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
}


#pushOuterDiv{
  display: none;
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
}

#pushInnerDiv{
  max-width: 290px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid 1px;
  border-radius: 15px;
  background-color: #dbe8f8;
  justify-content: center;
}

#pushText{
  padding: 5%;
}

#pushText h1{
  margin-top: 5%;
  text-align: center;
}

#subButton{
  animation: pulseAnimation 2s infinite;
  margin-bottom: 5%;
}



/*****************************
TERMS AND CONDITION SECTION
*****************************/


#termsDiv{
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

#termsInnerDiv{
  height: 50%;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: solid 1px;
  border-radius: 15px;
  background-color: #dbe8f8;
  justify-content: center;
}

#termsAndConditions{
    height: 100px;
    /* display: flex; */
    justify-content: center;
    overflow: scroll;
    background-color: white;
    border: solid 1px;
    border-radius: 15px;
}


.flashMessage{
  z-index: 999;
  max-width: 350px;
  background-color: #f1c40f;
  border: 1px solid #d4ac0d;
  color: #000000;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  /* margin-bottom: 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  flex-direction: row;
  /* align-items: center; */
  /* justify-content: center; */
  left: 50%;
  transform: translate(-50%, 0);
}

.flashMessageLeftDiv{
  width: 50%;
}

.closeButtonFlashDiv{
  width: 50%;
  display: flex;
  justify-content: flex-end;
  font-size: large;
}

.closeButtonFlash{
  font-weight: bold;
}




#pushNotificationDiv{
  display: flex;
  height: auto;
  width: 100%;
  position: fixed;
  bottom: 0;
}