@import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
/*font-family: 'Open Sans', sans-serif;*/

@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
/* font-family: 'Poppins', sans-serif; */

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
.container {
  display: flex;
  flex-direction: column;

  width: 100%;
}
.activeblur
{
  filter: blur(20px);
  pointer-events: none;
}
header {
  display: inline-flex;
  justify-content: space-between;
  padding: 10px;
  font-family: "Open Sans", sans-serif;
  background-color: rgb(214, 208, 208);
  border: 1px solid black;
}
header .nav {
  display: flex;
  flex-direction: row;
  padding: 5px;
  gap: 10px;
  justify-content: space-around;
  overflow: auto;
}
.MobNav {
  display: none;
}
header .nav a {
  color: white;
  width: 130px;

  border-radius: 3px;
  padding: 5px;
  text-align: center;
  margin: auto;
  text-decoration: none;
}
header .nav a:hover {
  background-color: white;
  color: white;
}

/* content section starts from here */
.contents {
  display: flex;
  flex-direction: row;
  height: 700px;
  width: 100%;
}
.contents .side {
  display: flex;
  flex-direction: column;

  background-color: rgb(31 73 125);
  text-align: center;
  color: yellow;
  justify-content: space-around;
  padding: 0 20px;
  font-family: "Open Sans", sans-serif;
}
.register {
  width: 240px;
  background-color: yellow;
  color: blue;
  padding: 10px;
  height: 20px; 
  text-decoration: none;
  margin: auto;
}
.register:hover {
  background-color: white;
  color: blue;
}
.contents .index {
  overflow-y: auto;
  padding: 10px;
  border-left: 3px solid black;
  border-right: 3px solid black;
  width: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  color: black;
}

/*--------------Login page------------------*/
.contents .index .section {
  width: 100%;
  background-color: rgb(214, 208, 208);
  padding: 10px;
  border: 0.5px solid gray;
  text-align: center;
  color: black;
}
.contents .index .news,
.contents .index .login {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.LoginForm {
  width: 80%;
  background: linear-gradient(
    9deg,
    rgba(37, 110, 237, 1) 10%,
    rgba(82, 142, 246, 1) 52%,
    rgba(233, 0, 255, 1) 100%
  );
  color: white;
  text-align: center;
  padding: 10px 10px 30px 10px;
  border-radius: 10px;

  font-size: 24px;
  display: flex;
  margin: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 5px 5px 25px 1px black;
}
.LoginForm .inputs {
  width: 80%;
  margin: auto;
  display: inline-flex;
  justify-content: space-between;
}
.LoginForm .inputs input {
  width: 80%;
  font-size: 18px;
  padding: 2px;
}

.LoginForm input,
select {
  font-size: 18px;
  padding: 2px;
}

.LoginForm #LoginBtn {
  width: 80%;
  font-size: 18px;
  color: blue;
  padding: 5px;
  margin: auto;
}
.error {
  width: 19%;
  background-color: #fcb9b9;
  color: red;
  display: block;
  font-size: 24px;
  text-align: center;
  margin: auto;
  padding: 10px;
  border-radius: 5px;
  position: absolute;
  top: 150px;
  z-index: 5;
  left: 25%;
}
.NewsBottom {
  background-color: #ffffff8a;
  color: green;
}

/*-------------dashboard starts here------------ */
.dashboard {
  overflow-y: auto;
}

.dashboard .NewNotify 
{
  color:red;
  position:relative;
  font-size:40px;
  left:40%;
  animation: NewNotification 1.5s  infinite linear;
  opacity:0;
  text-shadow:-2px -2px 10px white;
} 
@keyframes NewNotification 
{
  50%
  {
    opacity :100%;
  }
  100%
  {
    opacity:0;
  }
}


.dashboard h1 {
  background-color: white;
  color: blue;
}
.dashboard .actions {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  gap: 60px;
  padding-bottom: 50px;
}
.dashboard .dashline {
  width: 80%;
}
.dashboard .actions .action,
.AdminAction {
  display: inline-flex;
  justify-content: space-around;
}
.dashboard .actions .AdminAction .actionBtn {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.dashboard .actions .actionBtn {
  background-image: url("indlogo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  height: 180px;
  width: 180px;
  border-radius: 90px;
  color: blue;
  text-decoration: none;

  border: 2px solid white;
  box-shadow: 1px 1px 10px 1px black;
}
.dashboard .actions .actionBtn p {
  position: relative;
  border: 1px solid black;
  bottom: -150px;
  background: blue;
  color: white;
  padding: 5px;
  width: 180px;
  text-align: center;
  left: -5px;
}
.dashboard .actions .AdminAction .actionBtn {
  background: linear-gradient(
    9deg,
    rgba(245, 162, 104, 1) 43%,
    rgba(237, 162, 25, 1) 88%
  );
}
.dashboard .actions .AdminAction .actionBtn:hover,
.dashboard .action .actionBtn p:hover {
  background: white;
  color: blue;
  border: 2px solid blue;
  box-shadow: 5px 5px 10px 1px black;
}

/*------ApplyForm Page -------*/
.ApplyForms form {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: 0 auto;
  background:white;
  color:black;
  padding:20px;
  text-align: left;
  gap: 5px;
  box-shadow:5px 5px 5px black;
  border-radius:5px;
  font-size:14px;
  box-sizing:border-box;
} 
.ApplyForms form .formhead {
  display: flex;
  text-align: center;
  justify-content: space-evenly;
  border-bottom:1px solid black;
  padding:10px 0;
  
}

.ApplyForms form .formhead img {
  height: 100px;
  width: 100px;
}
.ApplyForms form .formhead h1 {
  width: 40%;
  color:black;
}
.ApplyForms form label 
{
  font-size:14px;
  color: rgb(16 43 149);
}
.ApplyForms form input,
select {
  padding: 2px;
  font-size: 14px;
  margin-bottom:20px;
}
.formbtns {
  display: inline-flex;
  justify-content: space-around;
  padding: 5px;
}
.formbtns input {
  width: 120px;
  padding: 2px;
  font-size: 24px;
  background-color: white;
  color: blue;
  cursor: pointer;
  border: 1px solid black;
}
.formbtns input:hover {
  background-color: blue;
  color: white;
  border: 1px solid white;
}

/*--------Applied forms list -----------*/
.listforms h1 {
  color: blue;
}

.listformsarea {
  max-height: 400px;
  overflow-y: auto;
  border: 3px solid black;
  background-color: rgba(255, 255, 255, 0.356);
  color: black;
}

.listforms table {
  border-collapse: collapse;
  border-color: 1px black;
  width: 100%;
}
.listforms table thead {
  background-color: white;
  position: sticky;
  top: -1px;
  color: wheat;
  color: blue;
}
.listforms table thead tr {
  width: max-content;
  border: 1px black;
}
/* ---------form refer page--------------------------*/

.FormRef .refer {
  display: inline-flex;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto;
  gap: 20px;
  align-items: center;
}
.FormRef .refer .referbox {
  width: 250px;
  height: 250px;
  border-radius:125px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border:1px solid blue;
  
}
.FormRef .refer .referbox p {
  position: relative;
  bottom: -200px;
  background-color: blue;
  color: white;
  font-size: 14px;
  height:90px;
}
.FormRef .refer .referbox p:hover
{
background:white;
  color:blue;
}

/* ---------Wallet page--------------------------*/
.errormsg {
  background: red;
  width: 30%;
  padding: 20px;
  font-size: 18px;
  border-radius: 10px;
  position: absolute;
  left: 32%;
  display: none;
}
.WalletPage {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.WalletPage .walletbalance {
  display: inline-flex;
  padding: 10px;
  background: white;
  border-radius: 10px;
  margin: 0 auto;
  width: 80%;
  align-items: center;
  font-size: 20px;
}
.WalletPage .transfer {
  background: rgba(91, 237, 25, 1);
  width: 60%;
  margin: auto;
  padding: 20px 0px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;

  align-items: center;
}
.WalletPage .transfer .inputs {
  display: inline-flex;
  width: 80%;
  justify-content: space-between;
  margin: auto;
  font-size: 24px;
}
.WalletPage .transfer .inputs input {
  width: 80%;
  font-size: 20px;
  padding: 2px;
}
.WalletPage .transfer .PayBtn {
  width: 50%;
  background: blue;
  color: white;
  padding: 5px;
  border: 1px solid white;
  cursor: pointer;
}
.WalletPage .transfer .PayBtn:hover {
  background: white;
  border: blue;
  color: blue;
  border: 1px solid blue;
}
.transactions {
  display: block;
}
.transactions table {
  border-collapse: collapse;
  border-color: black;
}

/* ---------Transactions (right side of Wallet, applied forms )--------------------------*/
.transactions table thead {
  background-color: green;
  position: sticky;
  top: -1px;
  color: white;
}
.transactions table thead tr {
  width: max-content;
  border: 1px black;
}

.transactions th,
.forms td {
  padding: 5px;
}
.transactions .AppliedForms a {
  text-decoration: none;
  cursor: pointer;
}

/* ---------footer--------------------------*/
.footer {
  display: inline-flex;
}
.text {
  background-color: rgb(255, 252, 252);
  border-top: 1px solid black;
  text-align: center;
  width: 100%;
  position: fixed;
  bottom: 10px;
}

.MobHide {
  display: block;
}

/* Profile Info Page  */
.userInfo {
  border-collapse: collapse;
  background-color: white;
  width: 70%;
  margin: auto;
  text-align: left;
  border-radius: 5px;
}
.userInfo td {
  padding: 5px;
}

.updateInfo , .lowWarning {
  position: absolute;
  width: 500px;
  left: 33%;
  color: white;
  top: 200px;
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  padding: 10px;
  gap: 10px;
  background-color: rgb(31, 73, 125);
  font-size: 18px;

  box-shadow: 2px 2px 50px 10px black;
}
.updateInfo table {
  width: 100%;
}
.updateInfo table input {
  width: 80%;
  font-size: 16px;
  padding: 2px;
}

/* additional  */
.bttns {
  background-color: blue;
  color: white;
  width: fit-content;
  padding: 5px;
  margin: auto;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}

/* ----- Aadhaar Update form page  ---- */
.adhaarUpdate table
{
  border-collapse:collapse;
  box-sizing:border-box;
  padding:2px;
}
.adhaarUpdate table tr td 
{
  padding:2px 10px;
  box-sizing:border-box;

}
.adhaarUpdate table input[type=text], .adhaarUpdate table textarea
{
  width:90%;
  padding:2px;
  resize:none;
  font-family: 'Open Sans', sans-serif;
}

/*--------------------- Mobile Responsive Starts Here -----------------------------*/
@media screen and (max-width: 700px) {
  body {
    margin: auto;
  }
  .MobHide {
    display: none;
  }
  .container {
    width: 99%;
    margin: auto;
  }
  header {
    text-align: center;
  }
  header h2 {
    font-size: 30px;
  }
  header,
  header .nav {
    display: flex;
    flex-direction: column;
  }

  .MobNav {
    display: block;
    width: 30px;
    height: 30px;
    position: relative;
    left: 90%;
    background-color: white;
    color: blue;
  }
  header .nav {
    position: absolute;
    background: #0000001c;
    width: 40%;
    top: 20%;
    right: 5%;
    display: none;
    z-index: 500;
  }
  header .nav a {
    background-color: white;
    text-align: left;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 10px;
    width: 80%;
  }
  .contents {
    flex-direction: column-reverse;
    height: 100%;
  }
  .contents .index {
    flex-direction: column;
    border-left: none;
    position: relative;
    width: 95%;
    margin: auto;
  }
  .contents .index .section {
    width: 95%;
    min-height: 500px;
  }

  .LoginForm {
    top: 150px;
  }
  .error {
    width: 50%;
    top: 50px;
    left: 25%;
  }

  .contents .side {
    width: 95%;
    padding: 10px;
    justify-content: center;
    padding-bottom: 100px;
  }
  .container .contents .side p,
  .container .contents .side h1 {
    font-size: 18px;
    margin: auto;
  }
  .contents .mobile-hide 
  {
      display:none !important;
  }

  .text {
    background-color: rgb(214, 208, 208);
    text-align: center;
    width: 100%;
    position: fixed;
    bottom: 1px;
  }

  .changes {
    left: 0%;
  }
  /*  wallet */
  .WalletPage .transfer {
    width: 80%;
  }

  /*------Dash Board ----*/
  .dashboard .AdminAction,
  .dashboard .action {
    flex-direction: column;
    align-items: center;
    gap: 30px;

  }
  
  .NewNotify
    {
      left:0;
    }
  /*-- ApplyForms---*/
  .ApplyForms
  {
    box-sizing:border-box;
  }
  .ApplyForms form {
    width: 100%;
    padding: 10px;
    
    overflow: hidden;
  }
  .ApplyForms form .formhead h1 {
    width: 50%;
    font-size: 18px;
  }
  .ApplyForms form .formhead img {
    width: 50px;
    height: 50px;
  }
  /*------formrefer------*/
  .FormRef .refer {
    flex-direction: column;
  }

/*   Profile Page */
  .updateInfo
  {
    left:2%;
    width:90%;
  }
  
  /*Service alert*/
  .updateInfo , .lowWarning {
    left:auto;
    position:fixed;
    top:200px;
    width:100%;
  }   
    
  }
