:root{
  --primary : #143453;
  --primary-light : #14345333;
  --secondary : #007e00;
  --cancel_color : #ff0000;
  --primary_color : #fff;
  --secondary_color: #143453;
  --third-color: #000;
  --third : #fdf500;
  font-family: "Titillium Web", sans-serif;

  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}


body {
  display: flex;
  flex-flow: column nowrap; 
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
}

.toast-container {
  position: fixed;
  bottom: 50px;
  right: 30px;
  z-index: 10000;
  width: auto;
}

.toast {
  width: auto;
}

.toast-style-message {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  font-size: 1.1rem;
  background-color: rgb(235, 236, 241);
  border-radius: 5px;
  box-sizing: border-box;
}

.toast-body {
  padding: 0px;
}

.icon-toast {
  width: auto;
  border-radius: 50%;
  box-sizing: border-box;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.btn-close-x {
  font-size: 15px;
  margin-left: 10px;
  margin-top: 3px;
}

.message-container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;

  padding: 20px 25px;
  font-size: 20px;
}

.tag-color {
  height: 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-sizing: border-box;
}

.message-success {
  background-color: #07610a;
  color: white;
}

.message-error {
  background-color: #da2801;
  color: white;
}

.message-warning {
  background-color: #ffc300;
  color: black;
}

.message-info {
  background-color: #0578c5;
  color: white;
}

.panel-container {
  display: flex;
  justify-content: center;
}

/* LOGIN  */

#login-container {
  display: flex;
  justify-content: center;
  min-height: 545px;
} 

.signin-form{
  display: flex;
  justify-content: center;
  background-color: #fff;
  flex: 1; 
}

.login-form {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#login-container h1 {
  color: #143453;
  font-weight: 600;
  text-transform: capitalize;
}

.logo {
  width: 70%;
  max-width: 340px;
}

.login-form input {
  text-align: center;
  border: none;
  border-bottom: 2px solid #143453;
  padding: 10px;
  width: 90%;
}

.login-form a {
  color: var(--secondary);
  font-weight: 600;
}

.login-container-left {
  display: none;
  flex: 2;  
  position: relative;
}

.login-container-left img {
  width: 100%;
  object-fit: cover;
}

.text-overlay {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 5, 2, 0.65);
  color: #fff;
  font-weight: 300;
  text-align: center;
  gap: 10%;
}

.p-title {
  background-color: rgba(255, 0, 0, .65);
  width: 100%;
  font-size: 2.5rem;
  color: #fff;
}


.p-desc {
  background-color: rgba(0, 0, 0, 0.75);
  font-size: 1.5rem;
  padding: 20px;

}

.p-desc a {
  text-decoration: none;
}

/* request Sign Up */

#request-signup {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
}

#request-signup h2 {
  border-color: transparent;
  margin: 30px 0;
  width: 100%;
}

#request-signup-container{
  width: 100%;
  padding: 0 5%;
  display: flex;
  justify-content: center;
}

#request-signup-container form {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 720px;
}

#request-signup input[type="text"],
#request-signup input[type="email"],
#request-signup select {
  font-size: 14px;
  padding: 10px 0;
  padding-left: 15px;
  border: none;
  border-bottom: 2px solid var(--primary-light);
  border-radius: 5px;
  width: 100%;
  margin: 2% 0;
}

#request-signup button {
  margin: 20px auto;
}

.checkbox-container { 
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.checkbox-field{
  height: 30px; 
  display: flex;
  align-items: center;
  gap: 10px;
  width: 140px;
}

.checkbox-field > label{
  font-size: 16px;
}

.checkbox-field input {
  transform: scale(1.2);
}

@media screen and (min-width: 425px) {

  /* style responsive mobile design for request-signup */
  .checkbox-container {
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
  } 
} 

@media screen and (min-width: 768px) {

  #request-signup-container form {
    flex-direction: row;
    flex-wrap: wrap;
  }

  #request-signup input,
  #request-signup select {
    max-width: 335px;
  }

  .checkbox-container{
    padding-left: 15px;
  }
}

.footer {
  background-color: var(--primary);
  color: var(--primary_color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70px;
  flex: 1;
} 

.footer p{
  margin: 0;
  padding: 15px;
}


@media screen and (min-width: 1024px) {

  #login-container {
    height: 100%;
    max-height: 759px;
    flex: 1;
  }
  .login-container-left {
    display: flex;
  }
}

@media screen and (max-width: 1366px) and (max-height: 768px) {
  #login-container {
    max-height: 447px;
  }
  .login-form{
    gap: 15px;
  }

  .login-form input{
    padding: 5px;
  }
}

.panel-container-auth{
  display: flex; 
  height: 99.8vh;  
}

.user-options{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-flow: row nowrap;
} 

.user-options span{ 
  flex-grow: 1; 
  background-color: rgba(0, 0, 0, 1);
  color:rgb(125, 255, 125);
  font-size: 1rem;
  font-weight: 350;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 5px;
}

.user-options a{ 
  display: flex;
  justify-content: center;
  align-items: center; 
  background-color: red;
  color: #fff;  
  height: 100%;
  font-size: 1rem;
  text-decoration: none;
  min-width: 40px;
  max-width: 40px;
}

.user-options a:hover{ 
  font-size: 1.2rem;
  background-color: rgb(158, 0, 0);  
  transition: background 0.4s ease;
}

/* ---------------------sidebar styles ------------------*/

.banner{
  
  background-color: rgb(20, 52, 83);
  color:#fff;
  display: flex;
  flex-direction: column;
  align-items: center;   
  width: 100%; 
  padding: 5%;
} 

.banner img{
  width: 40%;
}

.banner > div{
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;  
  height: 100%; 
} 

.banner .name-section{
  font-size: 1.6rem;
  letter-spacing: 1px;

}

.banner > div > p{
  display: block;  
  margin: 0;
}

.sidebar-options{
  display: flex;
  flex-flow: column nowrap; 
  width: 20%;
  min-width: 250px;
  box-sizing: border-box;
  background-image: linear-gradient(to right, #fff, rgba(190, 235, 197, 0.568));
}

.sidebar-options-list{
  list-style: none;
  padding: 0;
  padding-left: 5%;
  margin: 0;
  position: relative;
  height: 100%;
}

.sidebar-options-list li{
  height: 35px; 
  border-bottom: 1px solid rgba(20, 52, 83,.55);
  padding: 25px 5px;
  display: flex;
  align-items: center;
}

.sidebar-options-list li:hover{ 
  background-color: #007e00;
  cursor: pointer;
}

.sidebar-options-list li a{ 
  width: 100%;
  text-decoration: none;
  font-size: 1.1rem;
  color:#000;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5%;
}

.sidebar-options-list li:hover a{
  transform: translateX(5px);
  color: #fff;
}

.sidebar-options-list li i{
  margin: 0 10px;
} 
/* ///////////////////// */
/* sidebar styles end */
  


.table>:not(caption)>*>*{
  border-bottom-width: 0;
}

.custom-btn{ 
  padding: 5px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  gap: 10px;
  border-radius: 5px;
  border: none;
  width: fit-content;
}

.custom-btn-a{ 
  padding: 5px 10px;
  display: flex;
  justify-content: center;
  align-items: center; 
  border-radius: 5px;
  font-size: 16px;
  gap:10px;
  border: none;
  text-decoration: none;
  width: fit-content;
}

.btn-ok{
  background-color: var(--secondary);
  color: var(--primary_color);
}

.btn-edit{
  background-color: var(--third);
  color: var(--third-color);
}

.btn-back{
  background-color: var(--primary);
  color: var(--primary_color);
}

.btn-cancel{
  background-color: var(--cancel_color);
  color: var(--primary_color);
} 

 

.btn-ok:hover{
  background-color: #01a501;
  color: #fff;

}

.btn-edit:hover{
  background-color: #eaf516;
  color: #000;
}

.btn-back:hover{
  background-color: #175491;
  color: #fff;
}

.btn-cancel:hover{
  background-color: #d20000;
  color: #fff;
}

section > h2{
  border-bottom: 5px solid #143453;
  border-radius: 0 0 10px 10px;
  margin: 0 auto; 
  padding: 10px 0;
  font-weight: 600;
  width: 95%;    
  text-align: center;
}

main > section > small{
  font-size: 1.2rem;
    color: #999;
    text-align: center;
    display: block;
    margin-top: 2%;
}

.no-data{
  background-color: rgba(20,52,83,.09);
  border-radius: 10px;
  height: 300px;
  padding: 30px;
  width: 550px;
  margin: 5% auto ;

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

.no-data-message{
  font-size: 28px;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

.no-data-options{
  width: 100%;
  height: 60px;
  margin-top: 25px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.input-custom-style{
  border: none;
  border-bottom: 2px solid var(--primary);
  border-radius: 0 0 5px 5px;
  height: 35px;
}

/* table style  */

table thead {
  background-color: #143453;
  color: #fff;
}

thead tr {
  background-color: #143453;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  position: sticky;
  top: 0;
}

thead th {
  font-size: 16px;
  font-weight: 300;
  padding: 10px 20px;
  text-transform: capitalize;
}
 

table td{
    font-size: 16px;
    padding: 5px;
}

table tr:nth-child(even) td {
  background-color: rgba(0, 126, 0, .2);
}
 
table a {
  padding: 0;
  margin: 0;
  text-decoration: none; 
  color: inherit;
}

table i {
  margin: 0 5px;
  font-size: 18px;
}

.a-update {
  color: #099e09;
}

.a-see-more {
  color: #cca703;
}

.a-delete-item {
  color: red;
}

.a-link {
  color: rgb(28, 198, 250);
}

.a-update:hover,
.a-see-more:hover,
.a-delete-item:hover,
.a-link:hover {
  transform: scale(1.4);
}


/*  ------- pagination style  */
.pagination-nav,
.pagination-nav nav {
  height: 100%;
}

.pagination-nav ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* ----------------------LOGIN STYLE------------------------------------ */


/* ------ Request Signup Style -------- */




/* ---------------- User Home Module Styling ------------------*/
#user-home-container{
  width: 100%;
  height: 100vh;
}

#users_home_section{
  width: 30%;
  height: 70vh;
  margin: 0 auto;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 5%;
  padding-top: 5%;
}

#users_home_section .option-item{
  width: 100%;
  display: flex;
  justify-content: space-between; 
  border: 1px solid var(--primary); 
}

#users_home_section .option-item:hover {
  background-color: #14345310;
}

#users_home_section .option-item i{
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
#users_home_section .option-item a {
  padding: 0;
}
#users_home_section .option-item a > i {
  background-color: var(--secondary);
}

#users_home_section .option-item> h6 {
  font-size: 18px;
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}



/* -------------- User Module Style ----------------------- */

/* List Home User */
#user-list-container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  width: 100%;
} 
 
#user-panel-options {
  width: 90%; 
  padding: 25px 0 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; 
  margin: 0 auto;
}
#user-panel-options .search-option{
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#user-panel-options .search-input {
  width: 100%; 
  padding: 5px;
  border: 2px solid #143453;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}

.user-list-data-table {
  width: 90%;
  margin: 0 auto; 
}

.user-list-data-table table{
  width: 100%;
  text-align: center;
}

.user-list-data-table table .td-options{
  display: flex;
  justify-content: space-evenly;
}
  

/* Detail User  */

#user-detail-container, 
#user-edit-container{ 
  display: flex;
  flex-flow: column nowrap;
  width: 100%;  
}

#user-detail-container #panel-detail, 
#user-edit-container #panel-edit{
  width: 90%;  
  margin: 5px auto;
}

#user-detail-container form, 
#user-edit-container form{ 
  display: flex;
  flex-flow: column nowrap; 
  justify-content: center;
  padding: 25px 0;
}

#user-detail-container form .row, 
#user-edit-container .row{ 
  margin-bottom: 15px;
}

#user-detail-container form label,
#user-edit-container form label {
  font-size: 1rem;
  font-weight: 600;
}
#user-detail-container form input, 
#user-detail-container select,
#user-edit-container form input, 
#user-edit-container select{
  border: none;
  border-bottom: 2px solid #143453;
  text-align: center;
  pointer-events: none;
}

#user-edit-container form input, 
#user-edit-container select{
  pointer-events: all;
}

#user-detail-container form .user-detail-checkbox, 
.user-edit-checkbox{
  width: 100%;
  display: flex;
  justify-content: center;  
  gap: 5%; 
} 

#user-detail-checkbox #is_auctionable, 
#user-detail-checkbox #is_buyer, 
#user-detail-checkbox #is_seller, 
#user-detail-container input[type=checkbox]{
  pointer-events: none;
  cursor: not-allowed;
}

#user-detail-container .row-buttons,
#user-edit-container .row-buttons{
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  gap: 25px;
  padding: 10px;
}

#user-detail-container .row-buttons a,
#user-edit-container .row-buttons a { 
padding: 5px 30px;
font-size: 1rem;
} 

/* ---------------  User Signup Style --------------------- */
.signup-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100vh;
  max-height: 100vh;
  width: 100%;
  overflow: scroll; 
}

#signUpForm {
  width: 100%;
  padding: 2%; 
  padding-top: 0;
}

#signUpForm .row {
  margin: 2% 0;
}


#signUpForm > div > div > label {
  background-color: #143453;
  border-radius: 5px 5px 0 0;
  color: #fff;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

#signUpForm input {
  border: none;
  border-bottom: 2px solid #143453;
  border-radius: 0 0 5px 5px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  padding: 3px 0;
  text-transform: uppercase;
  text-align: center;
}

.id-fields {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
}

.id-fields #identification {
  border-bottom-right-radius: 0;
}

.id-fields #dv {
  width: 40px;
  border-bottom-left-radius: 0;
  border-left: 2px solid #143453;
}

#signUpForm select {
  border: none;
  border-bottom: 2px solid #143453;
  border-radius: 0 0 5px 5px;
  text-align: center;
  width: 100%;
}

.option-type-person {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 3px 0;
  gap: 30px;
  border-bottom: 2px solid #143453;
  border-radius: 0 0 5px 5px;

}

.option-type-person label {
  display: flex;
  flex-flow: row nowrap;
  font-size: 1rem;
  font-weight: 600;
  text-wrap: nowrap;

}

.option-type-person label>input {
  width: 15px;
  margin-right: 10px;
}

/* ----------------User Assignment styling ------------------- */
#user-assignment-container,
#user-new-assignmente-container{
  width: 100%;
}

#search-option-container{
  display: flex;
  justify-content: center;
  gap: 2%;
  margin-top: 2%;
  margin-bottom: 1%;
  width: 100%;
}
 
#search-option-container input{
  width: 50%;
  font-size: 1.2rem;
  font-weight: 400;
  border-radius: 10px;
  text-align: center;
}


#user-assignment-panel{
  width: 65%;
  margin: 0 auto;
}

#user-assignment-panel table{
  width: 100%;
  text-align: center;
}

#user-new-assignmente-container form{
  width: 50%;
  margin: 0 auto;
}

.user-new-assignment-form{
  display: flex;
  flex-flow: column nowrap;
  align-items: center; 
  width: 100%;
}

.user-new-assignment-form .user-new-field{
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  gap: 5%;
}

.user-new-field div{
  width: 100%;
}

.user-new-actions{
  display: flex;
  justify-content: center; 
  gap: 5%;
  margin-top: 5%;
}

.user-new-actions a,
.user-new-actions button{
  width: 150px;
}
.user-new-assignment-form label {
  width: 100%;
  text-align: center;
  margin-top: 5%;
  font-size: 1.2rem;
  font-weight: 600;
  background-color: var(--primary);
  color: #fff;
  border-radius:5px ;
  padding: 5px 0;
}

.user-new-assignment-form input,
.user-new-assignment-form select {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--primary);
  border-radius: 10px;
  text-align: center;
  padding: 5px;
  font-size: 1.1rem;
  font-weight: 400;
}

/* .user-new-assignment-form a,
.user-new-assignment-form button{
  margin-top: 5%;
} */

/* ----------------User Type Module Styling ----------------- */
#type-user-container{
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
}

#type-users-section{
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-flow: column nowrap;
  padding: 20px;
}

.type-users-actions {
  width: 100%; 
  display: flex;
  justify-content: center; 
  padding-bottom: 15px;
} 

#type-users-container a{
  margin: 0 auto;
  padding: 10px 25px;
}

#type-users-section table{
  width: 100%;
  margin: 0 auto;
  text-align: center;
  text-transform: capitalize;
}

#type_user_detail_section, #type_user_edit_section{
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  padding: 30px;
}

#type_user_detail_section span, 
#type_user_edit_section span{
  font-size: 1.3rem;
  display: flex;
  flex-flow: column nowrap;
  width: 30rem; 
  text-align: center;
  border-bottom: 2px solid var(--primary);
  border-radius: 10px;
  margin: 10px 0 ;
}

#type_user_detail_section span strong, 
#type_user_edit_section span strong{ 
  background-color: var(--primary);
  color: #fff;
  font-weight: 300;
  border-radius: 10px;
}

#type_user_detail_section .type_user_detail_actions,
#type_user_edit_section .type_user_edit_actions{
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
}

#type_user_edit_section input , #type_user_edit_section select {
  border: none;  
  text-align: center;
}


/* ---------------------- Person CRUD styling ---------------------- */

/* --------- Person List ----------- */

#person-list-container{
  width: 100%;
}

#person-list-data{
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 1%; 
}

#person-list-data .person-list-data-actions{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1%; 
  margin-top: 1%;
}

.person-list-data-actions label{
  width: 30%;
}
.person-list-data-actions input{
  width: 100%;
  padding: 5px;
  border: 2px solid var(--primary);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  border-radius: 10px;
}

.person-list-data-actions a{
  padding: 5px 15px;
  width: auto;
  display: flex;
  justify-content: center;
  gap: 5px;
}

#person-list-data .person-list-data-table{
  width: 90%;
  padding: 1%;
}

.person-list-data-table table{
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
  
.person-list-data-table .td-options{
  display: flex;
  justify-content: space-evenly;
}

/*  ----- Person details------- */
#person-detail-container, 
#person-edit-container{
  width: 100%;
}

.person-detail-data,
.person-edit-data{
  width: 80%;
  margin: 0 auto;
  padding: 25px;
}

.person-detail-data .person-attrs,
.person-edit-data .person-attrs,
.person-detail-actions,
.person-edit-actions{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 1.2rem;
}
.person-detail-data .row,
.person-edit-data .row {
  margin-bottom: 2%;
}
.person-detail-data .row > div > label ,
.person-edit-data .row>div>label {
  font-size: 1.1rem;
  font-weight: 600; 
}
.person-detail-data .row input,
.person-edit-data .row input {
  border: none;
  border-bottom: 1px solid var(--primary);
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 5px;
}

.person-edit data form {
  width: 100%;
}

/* --------------- Footer pagination style -------------- */
.data-table-footer {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px; 
  margin-top: 10px;
}

.data-table-footer span {
  font-size: 18px;
}

.pagination-nav,
.pagination-nav nav {
  height: 100%;
}

.pagination-nav ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  height: 100%;
}
 
/* --------------------------- auction opening style -----------------------------  */
 
.opening-container{
  width: 100%;
  max-height: 100vh;
  overflow: scroll;
}
.opening-container form { 
  width: 100%;
}
.opening-schedule{ 
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;  
  gap: 2%;
  padding: 10px 0;
} 
 
.date_input, .opening-schedule label{
  text-align: center;  
  font-size: 18px;
  font-weight: 600;
}
 
.opening-container .opening-data{
  width: 80%;
  margin: 0 auto; 
}

.opening-container .table-auctions-container{ 
  display: flex;
  justify-content: center; 
  border: 2px solid #143453;
  border-radius: 5px;  
  text-align: center;
}

.opening-container .table-auctions-container .column-options {
  display: flex;
  justify-content: space-evenly; 
}

.opening-container .table-auctions-container .column-options a,
#auction-state-finished-tag{
  width: auto;
  height: auto;
  padding: 5px 10PX;
  font-size: 0.8rem;
  letter-spacing: 2px;
}
.opening-container .table-auctions-container .column-options a:first-child,
#auction-state-finished-tag {
  width: 110px;
}


/* ----------  auction cattle style ------------ */

.auction-cattles-container{
  width: 100%; 
  max-height: 100vh;
  overflow: hidden;
}

.auction-cattles-datatable-container{ 
  display: flex;
  flex-flow: column nowrap; 
  align-items: center;
  width: 90%;
  margin: 0 auto; 
}

.data-search-container{
  width: 100%;
  margin-top: 2%;
  margin-bottom: 1%; 
}

.data-search-container form{ 
  display: flex;
  justify-content: center; 
  gap: 1%;
}

.data-search-container > form > input{
  width: 300px;
  height: 35px;
  border: 2px solid #143453;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

 .auction-cattles-table-container{
  display: flex;
  justify-content: center;
  width: 100%;
}

.auction-cattles-table-container table{
  width: 100%;
  text-align: center;
}
 
/* ---------------------------------- cattles styling ------------------------ */
#cattle-container{ 
  max-height: 100vh;
  width: 100%;
  overflow: scroll;
}

#cattle-container > form{
  width: 100%;
  padding: 1% 5%;
  display: flex;
  justify-content: flex-end;
  gap: 1%;
}

#cattle-container > form > input{
  text-align: center;
}


#cattle-container .cattle__options input{
  border: none;
  border-bottom: 2px solid #143453;
  border-radius: 0 0 5px 5px;
  padding: 0px 10px;
  text-align: center;
  width: 100%;
} 
 
.cattle-table-data{ 
  width: 90%;
  display: flex; 
  flex-flow: column nowrap;
  align-items: center;
  margin: 0 auto;
}

.cattle-table-data .table-data{
  border: 2px solid #888; 
  width: 100%;
  max-height: 640px;
  text-align: center;
}

.cattle-table-data table{
  width: 100%;
}

/* ----------------- NEW CATTLE STYLING ---------------------- */
#new-cattle-container{
  width: 100%;
  height: 100vh;
}

#new-cattle-container article{
  width: 100%; 
  display: flex;
  justify-content: center;
}

#new-cattle-container .form-new-cattle{
  width: 90%;
  display: flex;
  flex-flow: column nowrap; 
  align-items: center; 
}

#new-cattle-container .form-new-cattle h3 {
  display: block;
  width: 100%;
  text-align: center;
}

#new-cattle-container .owner-search-field{
  width: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2%;
}

#new-cattle-container .owner-search-field input{
  width: 20%;
  font-size: 1.2rem;
  text-align: center;
}

#new-cattle-container .owner-datatable-field{
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  margin: 20px 0 ;
  justify-content: space-between;
}

#new-cattle-container .owner-datatable-field .data-field{
  width: 30%;
  display: flex;
  margin: 5px 0;
  align-items: center;
}

#new-cattle-container .owner-datatable-field .data-field label{
  width: 35%;
}
#new-cattle-container .owner-datatable-field .data-field input,
#new-cattle-container .owner-datatable-field .data-field select {
  width: 65%;
  border: none;
  border-bottom: 1px solid var(--primary);
  text-align: center;
}

#new-cattle-container .owner-datatable-field input[readonly]{
  background-color: #ccc;
}

#new-cattle-container .form-new-cattle button {
  width: auto;
  padding: 5px 2%;
}

/* ------------------------------BID STYLES -------------------------------- */
.bid-container {
  width: 100%;
  height: 100%;
}

.bid-search-container {
  width: 100%;
}

.bid-container form {
  width: 100%;
}

.bid-search {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center; 
  padding: 2% 0;
}

.bid-field { 
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  padding-right: 15px;
}
 

.bid-field input {
  width: 20vw;
  text-align: center;
}

.bid-data-result {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
}

.bid-data-result form {
  width: 100%;
}

.bid-data {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  gap: 2%;
  border: 2px solid #143453;
  box-shadow: 0px 0px 5px 3px #999;
}

h3 {
  margin: 2% 0;
  width: 100%;
  text-align: center;
}

.bid-field-input {
  width: 100%;
}

.bid-field-input > p {
  width: 100%;
  display: flex;
  gap: 15px;
  padding-left: 10%;
}

.bid-field-input select {
    width: 20%;
    text-align: center;
    border: none;
    border-bottom: 2px solid var(--primary);
    border-radius: 10px; 
}


.bid-numbers-container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  align-items: center;
  padding: 3% 5%;
}

.bid-number {
  width: 20%;
  display: flex;
  border: 2px solid #143453;
  border-radius: 5px;
}

.bid-number label {
  background-color: #143453;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 300;
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bid-number input {
  text-align: center;
  width: 30%;
}

.bid-options-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3%;
  padding-top: 30px;
}

.bid-options-container a,
.bid-options-container button {
  width: 20%;
}
 

/* ---------------------- IMPORTING FILES STYLING ---------------- */
.import-container {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  overflow: hidden;
}

.import-container .form-reader {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  border-radius: 15px;
  gap: 1%;
}

.form-data-excel {
  border: 2px solid #007e00;
  color: #005500;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #fff;
  border-radius: 10px;
  padding-right: 15px;
}

.form-data-excel:hover {
  background-color: rgba(6, 243, 6, 0.2);
}

.import-container .form-save {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0 2%;
  overflow: scroll;
}

.date-auction-selector {
  width: 100%;
  padding: 1%;
  display: flex;
  justify-content: center;
  gap: 2%;
  font-size: 1.1rem;
  font-weight: 600;
}

.date-auction-selector select {
  border: none;
  border-bottom: 2px solid #143453;
  border-radius: 10px;
  width: 30%;
  text-align: center;
}

.table-container {
  width: 100%;
  max-width: 79vw;
  overflow-x: scroll;
  border: 2px solid #888;
  margin-top: 2%;
}

.import-container .table-custom {
  width: 100%;
}

.table-container th {
  background-color: #143453;
  color: #fff;
  position: sticky;
  top: 0;
  height: 40px;
  font-size: 16px;
  font-weight: 400;
}

.table-container td,
.table-container th {
  text-wrap: nowrap;
  text-align: center;
  padding: 0 10px;

}

.table-container tr:nth-child(even) {
  background-color: rgba(0, 126, 0, .2);
}

.table-container tr:hover {
  background-color: #007e00;
  color: #fff;
}

.table-container tr {
  max-height: 40px;
}



/* -------------------------- main container ---------------------------- */

.modules-options-container .card-body {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
}

.modules-options-container .card-body span {
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 2px;
  width: 100%;
  text-align: center;
  margin-bottom: 5px;
  border-bottom: 2px solid #133453;
}

.modules-options-container .card-body ul {
  padding: 0;
  width: 100%;
  padding: 5px;
}

.modules-options-container .card-body ul li {
  font-size: 1rem;
  font-weight: 400;
  list-style: none;
  transition: 0.6s;
}

.modules-options-container .card-body ul li a {
  color: #000;
  text-decoration: none;
}

.modules-options-container .card-body ul li:hover a {
  text-decoration: underline;
  color: #007e00;
  font-weight: 600;
}


/* --------------------------- auction opening style -----------------------------  */

/* .opening-container {
  width: 100%;
  max-height: 100vh;
  overflow: scroll;
}

.opening-schedule {
  height: 150px;
  width: 600px;
  margin: 0 auto;
  margin-top: 2%;
  padding: 5px 30px;
  border: 2px solid #143453;
  border-radius: 5px;
}

.opening-schedule>span {
  display: block;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin: 15px 0;
}

.schedule {
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.opening-field {
  width: 70%;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.date_input,
.opening-field label {
  text-align: center;
  width: 50%;
  font-size: 18px;
  font-weight: 600;
}

.opening-field label {
  text-align: right;
}


.opening-container .opening-data {
  width: 60%;
  margin: 10px auto 0;
  padding: 25px;
}

.opening-container .table-auctions-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: start;
  border: 2px solid #143453;
  border-radius: 5px;
  text-align: center;
}


.opening-container .table-auctions-container .column-options {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  align-items: center;
  width: auto;
} */

/* ----------  auction cattle style ------------ */

.auction-cattles-container {
  width: 100%;
  height: 100%;
}

.datatable-container {
  width: 100%;
  height: 90%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  align-items: center;
}

.data-search-container {
  width: 60%;
  margin: 0 auto;
  margin-top: 2%;
  margin-bottom: 1%;
}

.data-search-container form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.data-search-container>form>input {
  width: 300px;
  height: 35px;
  border: 2px solid #143453;
  border-radius: 5px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.datatable-container .table-container {
  width: 100%; 
  max-height: 430px;
  display: flex;
  justify-content: center;
}

.auction-cattles-container .datatable-container>span {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 30px auto;
}

.auction-cattles-container .custom-table {
  width: 60%;
  height: fit-content;
  text-align: center;
}

.data-table-footer {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  margin-top: 10px;
}

.data-table-footer span {
  font-size: 18px;
}

.pagination-nav,
.pagination-nav nav {
  height: 100%;
}

.pagination-nav ul {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* ------------------------------AUCTION INDEX STYLING ------------------ */
.modules-options-container {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
  max-height: 100vh;
  overflow: scroll;
} 

.modules-options-container .options {
  width: 100%;
  display: flex; 
  flex-flow: row wrap;
  margin: 3% 0;
}

.modules-options-container .option-item {
  width: 200px;
  border: 3px solid rgb(20, 52, 83);
  background-image: linear-gradient(to bottom, white 0%, rgba(190, 235, 197, 0.05) 70%, rgba(190, 235, 197, 0.10) 85%, rgba(190, 235, 197, 0.2) 95%);
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  height: 220px;
  border-radius: 10% 0% 10% 0%;
  box-shadow: 1px 1px 5px 1px #ccc;
  margin: 15px 25px;
  transition: all 0.3s ease-in-out;
}

.modules-options-container .option-item:hover {
  border: 3px solid #007e00;

}

.modules-options-container .option-item:hover .card-i {
  background-color: #007e00;
  transform: scale(1.2);
}

.modules-options-container .card-i {
  width: 50px;
  height: 50px;
  background-color: rgb(20, 51, 83);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -25px;
  transition: all 0.3s ease-in-out;
}

.modules-options-container .option-item i {
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.3s ease;
}

.modules-options-container i:hover {
  transform: scale(1.3);
}

.modules-options-container .option-item ul {
  padding: 5px 10px;
}
 
/* ---------------------- Control Panel ------------------------------- */

#control-panel-container{
  width: 100%;
  height: 100%;
  overflow-y: auto;
  max-height: 99vh; 
  padding: 1%;
}

#control-panel-container > h5{
width: 100%;
display: block;
text-align: center;
color: #888; 
}

#cattles-datatable{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 1% 0;

}

#number-cattle-input{
  width: 200px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid var(--primary);
  border-radius: 5px;
}

#control-panel-container .cattle-data-container{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cattle-data-container article{
  display: none;
  flex-flow: column nowrap;
} 
.cattle-data-container article > h5 {
  padding: 5px;
  border-left: 5px solid black;
  background-color: var(--primary);
  color: #fff;
  width: 240px;
  border-radius: 0 25px 25px 0;
  text-align: center;
  margin: 0;
  font-size: 1rem;
}

.cattle-data-container article .data-field{
  border-left: 5px solid black;
  border-right: 1px solid #ccc;
  display: flex;
  flex-flow: row nowrap;
  padding: 1% 2%;
  width: 220px;
  gap: 10px;
  font-size: 0.8rem;
}

.cattle-data-container article .data-field:last-child {
  border-bottom: 1px solid #ccc;
  border-radius: 0 0 25px 0;
}

#in-auction-data h5{
  background-color: var(--secondary);
}

#cattle-auction-datatable h5{
  background-color: var(--cancel_color);
}

#updating-auction-datatable h5 {
  background-color: var(--third);
  color: black;
}

#updating-auction-datatable{
  display: none;
  flex-flow: column nowrap;
}

#updating-auction-datatable .updating-actions{
  width: 220px;
  display: flex;
  flex-flow: column nowrap;
  padding: 5% 5% ;
  border-left: 5px solid black;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  border-radius: 0 0 25px 0;
  font-size: 0.8rem;
}

#updating-auction-datatable .item{
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  padding: 2% 0;
}

#updating-auction-datatable .item input{
  text-align: center;
}

#save-bid-setting{
  width: 100%;
}

.actions-container{ 
  width: 100%;
  display: flex; 
  justify-content: center;
  align-items: center; 
  font-size: 1.1rem;
} 

#bid-updates-container{
  width: 100%;
  display: none;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 1%;
}

#bid-updates-container .bids{
  min-width: 50%;
  max-width: 50%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-end;
  height: 40px;
  max-height: 40px;
  border: 2px solid var(--secondary);
  border-radius: 50px;
  overflow: hidden; 
}
#bid-updates-container > span {
  width: 50%;
  margin: 0 auto;
  display: flex; 
  justify-content: space-between;
} 

#bid-updates-container>span > h5{
  padding-left: 15px;
  width: 60%;
}

#bid-updates-container>span>h5>span {
  background-color: var(--cancel_color);
  color: #fff; 
  padding: 1% 3%;
  font-size: 0.7rem;
  font-weight: 300;
  border-radius: 5px;
}
#bid-updates-container  i{
  color: var(--secondary);
  font-size: 1.5rem;
  padding: 3px 15px; 
}

#bid-updates-container .bid-item:last-child {
  background-color: var(--secondary);
  color: var(--third);
}

#bid-updates-container .bid-item{
  min-width: 10%;
  max-width: 10%;
  height: 40px;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center; 
  border-left: 2px solid var(--secondary);
}

#main-panel-control{ 
  width: 50%; 
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2%;
  margin: 0 auto;
}

.btn-control{ 
  width: 120px;
  height: 40px;
  font-size: 1rem;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
  border-width: 2px;
  border-style: solid;
  background-color: transparent;
  cursor: pointer;;
}

#bid_system_number{ 
  border-color: var(--primary);
  color: var(--secondary);
}

#btn-set-winner{
  border-color: var(--secondary);
  background-color: var(--secondary);
  color: #fff;
}

#undo-bid{
  border-color: var(--primary);
  color: #000;
}

#split-bid{
  border-color: var(--cancel_color);
  background-color: var(--cancel_color);
    color: white;
}

#pause-bid {
  border-color: var(--primary);
  background-color: var(--primary);
  color: white;
}

#undo-bid:hover{
  background-color: #d6d371;
  color: #000; 
}

#btn-set-winner:hover{
  background-color: #fff; 
  color: var(--secondary);
}

#bid_system_number:hover {
  background-color: var(--primary); 
  color: #fff; 
}

#split-bid:hover {
  border-color: var(--cancel_color);
  background-color: white;
  color: red; 
}

#pause-bid:hover {
  border-color: var(--primary);
  background-color: white;
  color: var(--primary); 
}

/* ------------------------responsive mobile ----------------------- */


/* ---------------- PRODUCTIVE STATE STYLE ----------------------- */
#ps_container{
  width: 100%;
  height: 100vh;
  overflow: auto;
}

#ps_container article{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1%;
}

#ps_container article table{
  width: 70%;
  text-align: center;
}

#ps_container a{
  margin: 0 auto;
  margin-top: 1%;
}

/* ------------------- PRODUCTIVE STATES FORM STYLE ---------------- */

#productive-state-form-container{
  width: 100%;
  height: 100%;
}

#productive-state-form-container article{
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 2%;
}

#productive-state-form-container form{
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 30%;
  gap: 15px;
}

#productive-state-form-container form label{
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
}

#productive-state-form-container form input,
#productive-state-form-container form select,
#productive-state-form-container form textarea{
  width: 60%;
  border: 1px solid var(--primary); 
  border-radius: 10px; 
  padding: 5px 10px;
} 

#productive-state-form-container form .ps-actions-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2%;
  padding: 1%;
}