/*style.css*/
/* defualt styling start */
body {
  font-family: Arial, sans-serif;
}

* {
  /* border: 1px solid red; */
}

p {
  font-family: Arial, sans-serif;
}

/* defualt styling End */

.loginbody {
  font-family: sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  background: #f3f3f3;
  margin: 0;
}

.logoimg {
  width: 100px;
}

.main_body {
  /* width: 100%; */
  /* height: 85vh; */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  transition: transform 0.2s;
  width: 500px;
  text-align: center;
}

.index_tophead {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 15px 50px;
  /* border-bottom: 1px solid black; */
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.toplogo_text {
  font-size: 26px;
  font-weight: 600;
  font-style: normal;
  color: #2e3192;
  margin-left: 10px;
  margin-bottom: 0px;
}

/* media querry */

/* Media queries for mobile devices */
@media only screen and (max-width: 768px) {
  .index_tophead {
    flex-direction: column;
    align-items: center;
  }

  .logoimg {
    width: 50px;
    height: 50px;
  }

  .toplogo_text {
    font-size: 18px;
  }

  .logininput {
    width: 100%;
    padding: 10px;
  }

  .loginbtn {
    padding: 10px;
    font-size: 14px;
  }

  .main_body {
    padding: 10px;
  }

  .main {
    padding: 10px;
    width: 100%;
  }
}

@media only screen and (max-width: 360px) {
  .index_tophead {
    flex-direction: column;
    align-items: center;
  }

  .logoimg {
    width: 40px;
    height: 30px;
  }

  .loginhead {
    font-size: 24px;
  }

  .toplogo_text {
    font-size: 14px;
    text-align: center;
  }

  .logininput {
    width: 300px !important;
    padding: 5px;
  }

  .loginbtn {
    padding: 5px;
    font-size: 12px;
  }

  .main_body {
    padding: 5px;
    height: 100%;
  }

  .main {
    padding: 5px;
    width: 320px;
  }
}


/* ReCaptcha Design Start */

.input_field {
  position: relative;
  height: 45px;
  margin-top: 15px;
  width: 100%;
}

.refresh_button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: #826afb;
  height: 30px;
  width: 30px;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}

.refresh_button:active {
  transform: translateY(-50%) scale(0.98);
}

.input_field input,
.button button {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 8px;
}

.input_field input {
  padding: 0 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.captch_box input {
  color: #6b6b6b;
  font-size: 22px;
  pointer-events: none;
}

.captch_input input:focus {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.message {
  font-size: 14px;
  margin: 14px 0;
  color: #826afb;
  display: none;
}

.message.active {
  display: block;
}

.button button {
  background: #826afb;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.button button:active {
  transform: scale(0.99);
}

.button.disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* ReCaptcha Design End */


.loginhead {
  color: #2e3192;
}

.loginlabel {
  display: block;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: left;
  color: #555;
  font-weight: bold;
}

.logininput {
  display: block;
  width: 450px;
  margin-bottom: 15px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.loginbtn {
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  border: none;
  color: white;
  cursor: pointer;
  background-color: #2e3192;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
}

.wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-danger {
  color: red;
}

/* show dynamic company name and username Start */

.campaignfetch {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 80%;
}

@media only screen and (max-width: 600px) {
  .campaignfetch {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}

.companyuserfetch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 80%;
  text-transform: capitalize;
  padding: 20px 0;
}

.user_head {
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  margin: 0;
}

.company_head {
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  margin: 0;
}

.voting_head {
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  margin: 10px 0px;
}

.btnvoting_head {
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  text-decoration: none;
  color: #fff;
  background-color: #1b1f89;
  padding: 10px 30px;
  border-radius: 4px;
  display: inline-block;
}

/* show dynamic company name and username End */

/* list of companies */

.companies_list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.main-container {
  background-color: #ffffff !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  margin: 0;
  font-family: Arial, sans-serif;
  flex-direction: column;
}

.heading {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  padding: 20px 0;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 10px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.icon {
  font-size: 30px;
  margin-bottom: 20px;
}

.title {
  font-size: 24px;
  margin-bottom: 10px;
}

.description {
  font-size: 16px;
  color: #777;
}

.button-container {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  text-align: center;
  transition: bottom 0.3s;
}

.card:hover .button-container {
  bottom: 20px;
}

.vote-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #2e3192;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: capitalize;
}

/* Companies End */

/* directors list Start */

.directorbody {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  /* height: 100vh; */
  margin: 0;
  padding-top: 0px;
}

#headingdirector {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  padding: 20px 0;
  width: 100%;
}

#headingquestion {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  padding: 20px 0;
  width: 100%;
}

.mainbodydirectors {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.main-containerdirector {
  background-color: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 85%;
  margin: auto;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 130px;
}

@media only screen and (max-width: 600px) {
  .main-containerdirector {
    width: auto;
  }

}

.list-container {
  width: 100%;
}

@media only screen and (max-width: 600px) {
  .list-container {
    width: auto;
  }

  .question_container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 300px;
  }
}

.list-item {
  display: flex;
  align-items: center;
  padding: 15px 0px;
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.list-item:last-child {
  border-bottom: none;
}

.icondirector {
  font-size: 24px;
  margin-right: 20px;
  color: #cccccc;
  /* Light color for user icon */
}

.textdir {
  overflow-wrap: anywhere;
  flex-grow: 1;
  font-size: 18px;
  margin-right: 100px;
}

@media only screen and (max-width: 600px) {
  .textdir {
    /* margin-right: 0px; */
  }

  .mainbody>.question_container>.list-container>.list-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
}

/* .text {
flex-grow: 1;
font-size: 18px;
} */

.radio-button {
  display: inline-block;
  width: 50px;
  border: 2px solid rgb(199, 199, 199);
  border-radius: 4px;
}

.list-item label {
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.list-item input[type="number"]:checked+label {
  background-color: #e0e0e0;
  border-radius: 5px;
}

/* Form Submission Start */

.formsubmitbtn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  bottom: 0;
  left: 0;
  position: fixed;
  width: 100%;
  margin: 0px;
  padding: 0px;
  height: 60px;
}

.formsubmit {
  height: 100%;
  text-align: center;
  width: 50%;
  padding: 12px 0px;
  margin: 0px;
  background-color: #fff;
  color: #2e3192;
  border: 2px solid #2e3192;
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  /* z-index: 99; */
}

.formsubmit:hover {
  background-color: #2e3192;
  color: #fff;
}

@media only screen and (max-width: 600px) {
  .formsubmit {
    width: 100%;
    margin: 10px 0px;
  }
}

/* Form Submission End */

/* Vote Count Box Start */

.countbox {
  background-color: #1b1f89;
  width: 500px;
  padding: 12px 0px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
}

@media only screen and (max-width: 600px) {
  .countbox {
    width: 100%;
    border-radius: 4px;
  }
}

/* Vote Count Box End */

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  /* height: 200px; */
  text-align: center;
  border-radius: 10px;
  overflow-wrap: anywhere;
}

.modaltxt {
  text-align: center;
  font-size: 18px;
}

.modalconfirmbtn {
  width: 100%;
  padding: 8px 0px;
  background-color: #fff;
  border: 2px solid #2e3192;
  color: #2e3192;
  font-size: 17px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
}

.modalconfirmbtn:hover {
  background-color: #1b1f89;
  color: #fff;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Style the tab */
#tab {
  overflow: hidden;
  /* border: 1px solid #ccc; */
  background-color: #f1f1f1;
  display: none;
}

/* Style the buttons inside the tab */
#votingButton,
#questionButton {
  width: 230px;
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  border-radius: 4px;
}

/* Change background color of buttons on hover */
#votingButton:hover,
#questionButton:hover {
  background-color: #2e3192;
  color: white;
}

/* Create an active/current tablink class */
#votingButton.active,
#questionButton.active {
  background-color: #2e3192;
  color: #fff;
  font-weight: 600;
}

@media only screen and (max-width: 600px) {

  #votingButton,
  #questionButton {
    width: 100%;
  }
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  /* border: 1px solid #ccc; */
  border-top: none;
  width: 900px;
}

@media only screen and (max-width: 600px) {
  .tabcontent {
    width: auto;
  }
}

.tabcontent.active {
  display: block;
}

.doublebtn {
  display: flex;
  flex-direction: row;
}

.companybtn1 {
  width: 100px;
  margin: 2px;
  padding: 8px 10px;
  background-color: #4caf50;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  cursor: pointer;
}

.companybtn1:hover {
  background-color: #008000;
}

.companybtn2 {
  width: 100px;
  margin: 2px;
  padding: 8px 10px;
  background-color: #d40000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  cursor: pointer;
}

.companybtn2:hover {
  background-color: #d00000;
}

/* list of companies start */

/* list of companies end */

/* directors list End */

.tophead {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px;
  margin: 0;
}

@media only screen and (max-width: 600px) {
  .tophead {
    padding: 0;
  }
}

.backbtn {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  text-transform: capitalize;
}

.logoutbtn {
  background-color: transparent;
  color: #2e3192;
  border: 2px solid #2e3192;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 4px;
  cursor: pointer;
}



/* .button591 {
  padding: 5px 15px;
  position: relative;
  background-color: transparent;
  cursor: pointer;
  border: 2px solid #2e3192;
  overflow: hidden;
  border-radius: 8px;
  color: #2e3192;
  transition: all 0.5s ease-in-out;
}

.btn-txt {
  z-index: 1;
  font-weight: 800;
}

.type1::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.5s ease-in-out;
  background-color: #2e3192;
  border-radius: 8px;
  visibility: hidden;
  height: 6px;
  width: 6px;
  z-index: -1;
}

.button591:hover {
  box-shadow: 1px 1px 200px #2e3192;
  color: #fff;
  border: none;
}

.type1:hover::after {
  visibility: visible;
  transform: scale(100) translateX(2px);
} */





.logoutbtn:hover {
  background-color: #2e3192;
  color: #fff;
}

@media screen and (max-width: 360px) {
  .logoutbtn {}
}

.swal-title {
  font-size: 18px;
}

/* Hide the spinner (arrows) in input type="number" */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.companies-page,
.companies-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
}




/* View page Style Start */

.view_tophead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  top: 0;
  left: 0;
}

@media only screen and (max-width: 600px) {
  .view_tophead {
    flex-direction: column;
  }

  .header_btn {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }
}

.bodyview_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 650px;
}

.bodyview_peragraphfirst {
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  margin: 0;
}

.bodyview_peragraph {
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  margin: 0;
}

.view_head_h1 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
  text-align: center;
}

.view_btnreceipt {
  font-weight: 500;
  color: #2e3192;
  text-decoration: none;
  border: 2px solid #2e3192;
  font-size: 14px;
  font-weight: 600;
  background-color: #fff;
  padding: 15px 30px;
  border-radius: 4px;
}

.view_btnreceipt:hover {
  color: #fff;
  background-color: #2e3192;
}


/* View page Style End */


/* Receipt page Style Start */

/* .receipt_innertable>th>td {
  border: 1px solid black;
  border-collapse: collapse;
}

.receipt_head {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
}

.receipt_table {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 80%;
  display: flex;
  flex-direction: row;
}

.receipt_maintable {
  width: 80%;
}

.receipt_innertable {
  width: 100%;
}

.receipt_tablehead {
  text-align: left;
  padding: 10px 0px;
}

.recept_note {
  padding: 0 3%;
}

.recept_note h4 {
  margin-bottom: 0px;
  font-size: 14px;
}

.recept_note p {
  margin-top: 0px;
  font-size: 12px;
} */

.receipt_mainsection {
  width: 80%;
  margin: 0 auto;
}

.receipt_head {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}

.receipt_table {
  display: flex;
  justify-content: center;
}

.receipt_maintable {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* .receipt_row {
  display: flex;
  padding: 10px 0;
  align-items: center;
} */

.receipt_tablehead,
.receipt_tableheaddirectors,
.receipt_tableheadquestion {
  width: 33%;
  font-weight: 600;
  text-align: left;
}

/* .receipt_data {
  width: 60%;
  display: flex;
  flex-direction: column;
} */

.duration_row {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* .receipt_innertabledirectors,
.receipt_innertablequestion {
 
  width: 100%;
} */

.recept_note {
  padding: 0 3%;
}

.recept_note h4 {
  margin-bottom: 0;
  font-size: 14px;
}

.recept_note p {
  margin-top: 0;
  font-size: 12px;
}

.receipt_innertabledirectors,
.receipt_innertablequestions {
  display: flex;
  flex-direction: column;
  /* border: 1px solid black; */
  padding: 5px;
  width: 100%;
}

.director_row,
.question_row {
  display: flex;
}

.director_cell,
.question_cell {
  flex: 1;
  padding: 5px;
  /* border: 1px solid black; */
  border: 1px solid #00000014;
  overflow-wrap: anywhere;
}

.director_header,
.question_header {
  font-weight: bold;
  background-color: #f0f0f0;
}

.receipt_row {
  display: flex;
  padding: 10px 0;
  margin: 5px 0;
}

.receipt_label {
  flex: 1;
  font-weight: bold;
}

.receipt_data {
  flex: 2;
  padding-left: 10px;
}

.receipt_dates {
  display: flex;
  flex: 2;
  /* This controls how much space the dates take compared to the label */
  gap: 10px;
  /* Adds consistent spacing between start date, dash, and end date */
  align-items: center;
}

.download_receipt {
  background-color: transparent;
  color: #2e3192;
  border: 2px solid #2e3192;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
  padding: 5px 15px;
  cursor: pointer;

  &:hover {
    background-color: #2e3192;
    color: #fff;
  }
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
  .receipt_row {
    flex-direction: column;
    align-items: flex-start;
  }

  .receipt_label {
    flex: none;
    width: 100%;
    margin-bottom: 5px;
  }

  .receipt_data {
    flex: none;
    width: 100%;
  }

  .receipt_dates {
    flex-direction: column;
  }

  .receipt_dates span {
    margin: 5px 0;
  }
}

/* Receipt page Style End */


.footer_txt {
  color: #888;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  font-style: normal;
}

.footer_section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 30px;
  /* position: fixed; */
  bottom: 0;
  left: 0;
  /* color: #fff; */
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  background-color: #f8f8f8;
}