/*//////////////////////////////////////////////////////////////////
[ FONT ]*/

@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Medium;
  src: url('../fonts/poppins/Poppins-Medium.ttf'); 
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf'); 
}

@font-face {
  font-family: Poppins-SemiBold;
  src: url('../fonts/poppins/Poppins-SemiBold.ttf'); 
}


/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/

* {
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
}

body, html {
	height: 100%;
	font-family: Poppins-Regular, sans-serif;
}

/*---------------------------------------------*/
a {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #666666;
	margin: 0px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
  color: #153f82;
}

/*---------------------------------------------*/
h1,h2,h3,h4,h5,h6 {
	margin: 0px;
}

p {
	font-family: Poppins-Regular;
	font-size: 14px;
	line-height: 1.7;
	color: #666666;
	margin: 0px;
}

ul, li {
	margin: 0px;
	list-style-type: none;
}


/*---------------------------------------------*/
input {
	outline: none;
	border: none;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus, input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; }
input:focus::-moz-placeholder { color:transparent; }
input:focus:-ms-input-placeholder { color:transparent; }

textarea:focus::-webkit-input-placeholder { color:transparent; }
textarea:focus:-moz-placeholder { color:transparent; }
textarea:focus::-moz-placeholder { color:transparent; }
textarea:focus:-ms-input-placeholder { color:transparent; }

input::-webkit-input-placeholder { color: #adadad;}
input:-moz-placeholder { color: #adadad;}
input::-moz-placeholder { color: #adadad;}
input:-ms-input-placeholder { color: #adadad;}

textarea::-webkit-input-placeholder { color: #adadad;}
textarea:-moz-placeholder { color: #adadad;}
textarea::-moz-placeholder { color: #adadad;}
textarea:-ms-input-placeholder { color: #adadad;}

/*---------------------------------------------*/
button {
	outline: none !important;
	border: none;
	background: transparent;
}

button:hover {
	cursor: pointer;
}

iframe {
	border: none !important;
}


/*//////////////////////////////////////////////////////////////////
[ Utility ]*/
.txt1 {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #999999;
  line-height: 1.5;
}

.txt2 {
  font-family: Poppins-Regular;
  font-size: 15px;
  color: #57b846;
  line-height: 1.5;
}

/* Ensure proper alignment of checkbox and label */
input[type="checkbox"] {
    margin-right: 8px; /* Space between checkbox and label */
    vertical-align: middle; /* Align checkbox with text */
}

/* Optional: Ensure the label is aligned properly */
label {
    font-size: 16px;
    vertical-align: middle;
}

/* Table */
/* Style the dropdown */
.form-select {
    font-family: Poppins-Regular;
    font-size: 16px;
    color: #333;
    width: 50%;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    margin-bottom: 20px;
}

/* Style the table */
.table {
    max-width: 1000px
    border-collapse: collapse;
    background-color: #fff;
}

.table th, .table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
  font-size: 12px;
  font-family: Poppins-Regular;
}

/* Ensure links in table cells have the same font size and family */
.table td a {
  font-size: 12px;
  font-family: Poppins-Regular;
}

.table th {
  background-color: #153f82;
  color: white;
}
.table th a {
  color: white;
}

.table tbody tr:hover {
  background-color: #f2f2f2;
}

/* Make hyperlinks in table rows have the same hover color as non-hyperlink hovers */
.table tbody tr:hover a {
  color: #153f82;
}


/*//////////////////////////////////////////////////////////////////
[ login ]*/

.right-menu {
    display: flex;
    align-items: center;
    margin-left: auto; /* Push it to the right */
    margin-right: 20px; /* Pull it 15px to the left */

}

.csv-logo {
  width: 50px;
  height: 50px;
  border-radius: 10%;
  vertical-align: middle;
  float: right;
  margin-left: auto; /* Pushes the icon to the right */
  z-index: 1001; /* Brings the logo to the front */
  position: relative; /* Ensures z-index is applied */
  cursor: pointer; /* Indicates it's clickable */
}

/* Style the gear icon */
.gear-icon {
    width: 30px;
    height: 30px;
    margin-left: 15px; /* Add space between logout and gear */
    cursor: pointer;
    opacity: 0.9;
    background-color: #153f82;
}

.imitate-dropdown {
    position: relative;
    display: inline-block;
}

.imitatebtn {
    background-color: red;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.imitate-dropdown-content {
    display: none;
    position: absolute;
    background-color: #153f82;
    min-width: 160px;
    font-size: 12px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px;
    right: 0;
}

.unset-imitate-btn {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 10px 20px;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.unset-imitate-btn:hover {
    background-color: #d43f3f;
}

.imitate-dropdown:hover .imitate-dropdown-content {
    display: block;
}

.ddropbtn {
  background-color: transparent; /* Remove the background completely */
  color: white;
  padding: 16px;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.ddropdown {
  position: relative;
  display: inline-block;
}

.ddropdown-content {
    display: none;
    position: absolute;
    background-color: #153f82;
    min-width: 160px;
    font-size: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    text-align: center; /* Align all items to the left */
    border-radius: 5px;
    padding: 10px;
    width: 200px;

}

.ddropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
    padding: 10px;
 text-align: center; /* Align all items to the left */
}

.ddropdown .ddropdown-content a:first-child {
    padding: 0; /* Reset padding */
}


/* If you want to override alignment for a specific item, use a unique class or target a specific link */
.ddropdown-content a.special-item {
    text-align: center; /* For specific item */
    padding: 15px 20px; /* Adjust padding if needed */
}

.ddropdown-content a:hover { 
    background-color: #091933;
    padding: 10px;
}

.ddropdown:hover .ddropdown-content {
    display: block;
}

.ddropdown:hover .ddropbtn {
    background-color: #091933;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.toggle-password:hover {
    color: #333;
}

.dropdown {
  position: relative;
  display: inline-block;
  font-size: 12px;
}

/* Ensure dropdown-content is directly below the button and left-aligned */
.dropdown-content {
  display: none;
  position: absolute;
  left: 0; /* Align to the left edge of the dropdown */
  top: 100%; /* Place directly below the button */
  background-color: #153f82;
  min-width: 220px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
  border-radius: 5px;
}

/* All dropdown items left-aligned */
.dropdown-content a {
  background-color: #153f82;
  color: white;
  padding: 10px;
  display: block;
  text-decoration: none;
}

/* Add 10px padding under the last dropdown item */
.dropdown-content a:last-child {
  padding-bottom: 20px;
}
.dropdown-content a:first-child {
  align-items: center;
}



/* Change color on hover */
.dropdown-content a:hover {
  background-color: #877d7d;
}

/* Show dropdown when hovering over the dropdown */
.dropdown:hover .dropdown-content {
  display: block;
}


/* Ensure h2 text is white */
.header h2 {
  color: white;
}


.logo {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 10px 10px;
    z-index: 11; /* Ensure it stays above other content */

}

.limiter-login {
  width: 100%;
  margin: 0 auto;
}



.limiter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh; /* Adjust height as needed */
    margin: 0 auto;
    text-align: center;
}

.limiter-search {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh; /* Adjust height as needed */
    margin: 0 auto;
    text-align: center;
}


.limiter-clients {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh; /* Adjust height as needed */
    margin: 0 auto;
    text-align: center;
}


.container-login100 {
  width: 100%;  
  min-height: 80vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #fff;  
}

.container-40 {
  width: 100%;
  min-height: 40vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #fff;
  margin-top: 400px; /* Pushes the container down by 400px */
}

.container-clients {
  width: 100%;
  min-height: 40vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #fff;
  margin-top: 400px; /* Pushes the container down by 400px */
}

.container-20 {
  width: 100%;
  min-height: 20vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #fff;
  margin-top: 130px; /* Pushes the container down by 130px */
}

.container-add-user {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container-add-user h1 {
    color: #153f82;
    margin-bottom: 30px;
    font-family: Poppins-Medium;
}

.container-edit-user {
    max-width: 600px; /* Adjust width as needed */
    margin: 20px auto; /* Centers the form */
    padding: 20px;
    background: #f8f9fa; /* Light background */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.container-search {
    max-width: 500px; /* Adjust width as needed */
    min-height: 40vh;
    margin: 20px auto; /* Centers the form */
    padding: 20px;
    background: #f8f9fa; /* Light background */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.container-table-user {
    max-width: 1200px; /* Adjust width as needed */
    margin: 20px auto; /* Centers the form */
    padding: 20px;
    background: #f8f9fa; /* Light background */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.wrap-50 {
  width: 100%; /* Allow it to take full width */
  max-width: 400px; /* Optional: Set a max width */
  background: #fff;
}

.wrap-login100 {
  width: 420px;   /* Set to a moderate width for a slightly wider login box */
  max-width: 95vw; /* Responsive: don't overflow on small screens */
  background: #fff;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 12px;
  padding: 40px 30px 30px 30px;
}

.wrap-login150 {
  width: 780px;
  background: #fff;
}

.wrap-150 {
    width: 100%;
    max-width: 400px;  /* Set a reasonable max width */
    background: #fff;
    text-align: center;  /* Ensures text elements are centered */
    padding: 20px;
}

.wrap-250 {
    width: 100%;
    max-width: 600px;  /* Set a reasonable max width */
    background: #fff;
    text-align: center;  /* Ensures text elements are centered */
    padding: 20px;
}

.container-display {
  width: 100%;
  min-height: 10vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #fff;
}


/*------------------------------------------------------------------
[ Form ]*/

.login100-form {
  width: 100%;
}

.login100-form-title {
  display: block;
  font-family: Poppins-Bold;
  font-size: 39px;
  color: #153f82;
  line-height: 1.2;
  text-align: center;
  z-index: 12;
}

.login100-form-avatar {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.search100-form-avatar {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  opacity: 0.5;
}

.login100-form-avatar img {
  width: 100%;
}

/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid #d9d9d9;
}

.wrap-search-input50 {
  max-width: 400px;;
  position: relative;
  border-bottom: 2px solid #d9d9d9;
}

.input100 {
  font-family: Poppins-SemiBold;
  font-size: 18px;
  color: #555555;
  line-height: 1.2;
  text-align: center; /* Center text horizontally */
  display: block;
  width: 100%;
  height: 52px;
  background: transparent;
  padding: 0 5px;
}

.input50 {
  font-family: Poppins-SemiBold;
  font-size: 12px;
  color: #555555;
  line-height: 1.2;
  text-align: center; /* Center text horizontally */
  display: block;
  width: 100%;
  height: 52px;
  background: transparent;
  padding: 0 5px;
}

/*---------------------------------------------*/ 
.focus-input100 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input100::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: #57b846;
}

.focus-input100::after {
  font-family: Poppins-Medium;
  font-size: 18px;
  color: #999999;
  line-height: 1.2;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: 15px;
  left: 0px;
  padding-left: 5px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.input100:focus + .focus-input100::after {
  top: -20px;
  font-size: 15px;
  color: #57b846; /* Change label color to green on focus */
}

.input100:focus + .focus-input100::before {
  width: 100%;
}

.has-val.input100 + .focus-input100::after {
  top: -20px;
  font-size: 15px;
  color: #57b846; /* Change label color to green when input has a value */
}

.has-val.input100 + .focus-input100::before {
  width: 100%;
}

.focus-input50 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* Underline animation (only when focused) */
.focus-input50::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  color:  #57b846;
  transition: all 0.4s;
  background: #57b846;
}

/* Always keep label at the top */
.focus-input50::after {
  font-family: Poppins-Medium;
  font-size: 15px;
  color: #999999; 
  line-height: 1.2;

  content: attr(data-placeholder);
  display: block;
  width: 100%;
  position: absolute;
  top: -20px; /* Keep label at the top */
  left: 0px;
  padding-left: 5px;

  transition: all 0.4s;
}

.input50:focus + .focus-input50::after {
  top: -20px;
  font-size: 15px;
  color: #57b846; /* Change label color to green on focus */
}

.input50:focus + .focus-input50::before {
  width: 100%;
  background: #57b846; /* Green line on focus */
}

.has-val.input50 + .focus-input50::after {
  top: -20px;
  font-size: 15px;
  color: #57b846; /* Change label color to green when input has a value */
}

.has-val.input50 + .focus-input50::before {
  width: 100%;
  background: #57b846; /* Green line when input has a value */
}
.copy-btn, .generate-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 10px;
    color: #57b846;
}

/* .copy-btn { right: 90px; }  /* Position Copy button */
.copy-btn { 
	right: 10px; 
	top: 10px;
}
.generate-btn { right: 10px; }  /* Position Generate button */

.copy-btn:hover, .generate-btn:hover {
    color: #3a8c32;
}


/*------------------------------------------------------------------
[ Button ]*/

.form-button {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #fff;
  text-transform: uppercase;

  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  width: auto; /* Adjusts based on content */
  min-width: 120px; /* Ensures a minimum size */
  height: 40px;
  background-color: #153f82;
  border-radius: 25px;
  transition: all 0.4s;
  cursor: pointer;
  border: none;
}

.form-button:hover  {
  background-color: #153f82;
  box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -webkit-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -o-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -ms-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
}

.button-container {
  display: flex;
  gap: 5px; /* Adjust spacing between buttons */
  justify-content: center; /* Centering the buttons */
}


.container-login100-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.container-search-form-btn {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.login100-form-btn {
  font-family: Poppins-Medium;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  background-color: #153f82;
  border-radius: 25px;

  box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -moz-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -webkit-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -o-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -ms-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.login100-form-btn:hover  {
  background-color: #153f82;
  box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -webkit-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -o-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -ms-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
}

.login100-form-btn:disabled {
    background-color: #cccccc; /* Gray color for disabled button */
    color: #666666; /* Lighter text color */
    cursor: not-allowed; /* Change cursor to indicate the button is not clickable */
}

.search-form-btn {
  max-width:20em;
  white-space:nowrap;
  overflow:hidden;
  font-family: Poppins-Medium;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  background-color: #153f82;
  border-radius: 25px;

  box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -moz-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -webkit-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -o-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);
  -ms-box-shadow: 0 10px 30px 0px rgba(87, 184, 70, 0.5);

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.search-form-btn:hover {
  background-color: #153f82;
  box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -webkit-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -o-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
  -ms-box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
}
/*generic submit button */

.submit-btn {
  font-family: Poppins-Medium;
  font-size: 16px;
  color: #fff;
  line-height: 1.2;
  text-transform: uppercase;

  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  height: 50px;
  background-color: #153f82;
  border-radius: 25px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.submit-btn:hover  {
  background-color: #153f82;
  box-shadow: 0 10px 30px 0px rgba(51, 51, 51, 0.5);
}

.submit-btn:disabled {
    background-color: #cccccc; /* Gray color for disabled button */
    color: #666666; /* Lighter text color */
    cursor: not-allowed; /* Change cursor to indicate the button is not clickable */
}


/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: #fff;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;

  font-family: Poppins-Regular;
  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.alert-validate::after {
  content: "\f06a";
  font-family: FontAwesome;
  font-size: 16px;
  color: #c80000;

  display: block;
  position: absolute;
  background-color: #fff;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 5px;
}

.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}
/* IOC Page add + sign to add ioc */
.add-ioc {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 24px;
  color: #57b846;
  cursor: pointer;
  z-index: 2;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.add-ioc-img {
  margin-left: auto;
  margin-right: 0;
  height: 15px;
  width: 15px;
  object-fit: contain;
  cursor: pointer;
  display: block;
}

/*//////////////////////////////////////////////////////////////////
[ Login more ]*/
.login-more li {
  position: relative;
  padding-left: 16px;
}

.login-more li::before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #cccccc;
  top: 45%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
}

.header {
  top: 0;
  border-bottom: 2px solid #ddd; /* Optional: adds a border at the bottom */
  background: linear-gradient(90deg, #153f82 0%, #246de0 100%);
  color: white;
  padding: 10px;
  font-size: 21px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 10px; */
  width: 99%;
  margin: 0 auto;
  position: -webkit-sticky; /* For Safari */
  position: sticky;
  z-index: 1000;
  flex-shrink: 0; /* Prevent shrinking if flex is applied to the parent */
}

.header img {
    margin-left: 0; /* Ensure no margin on the logo */
}

.header h2 {
    margin: 0;
    font-size: 1.00em;
}


.header a:first-child {
    padding-left: 80px; /* Push 'Submit an IOC' right */
}

.header span {
    font-size: 1.5em;
}

.header a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 12px;
}

.header a:hover {
    text-decoration: underline;
}

.footer {
    background-color: #153f82; /* Dark background */
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/*//////////////////////////////////////////////////////////////////
[ Product Management & Admin Forms ]*/

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-family: Poppins-Medium;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: Poppins-Regular;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #153f82;
    outline: none;
    box-shadow: 0 0 5px rgba(21, 63, 130, 0.3);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Admin Tables */
.products-table,
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
}

.products-table th, .products-table td,
.admin-table th, .admin-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    font-family: Poppins-Regular;
    font-size: 14px;
}

.products-table th,
.admin-table th {
    background-color: #153f82;
    color: white;
    font-weight: bold;
    font-family: Poppins-Medium;
}

.products-table tr:nth-child(even),
.admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.products-table tbody tr:hover,
.admin-table tbody tr:hover {
    background-color: #f2f2f2;
}

/* Button Styles */
.btn {
    padding: 8px 16px;
    margin: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-family: Poppins-Medium;
    font-size: 14px;
    transition: opacity 0.3s, background-color 0.3s;
}

.btn-primary {
    background-color: #153f82;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: Poppins-Medium;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-warning {
    background-color: #ffc107;
    color: black;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn:hover {
    opacity: 0.8;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0f2f5f;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-warning:hover {
    background-color: #e0a800;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success:hover {
    background-color: #218838;
}

/* Message Styles */
.message {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-family: Poppins-Regular;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.message.info {
    background-color: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

/* Description column styling */
.description {
    max-width: 400px;
    word-wrap: break-word;
    word-break: break-word;
}

/* Centered content within containers */
.centered-content {
    text-align: left;
}

.centered-content h1,
.centered-content h2,
.centered-content h3 {
    color: #153f82;
    font-family: Poppins-Bold;
    margin-bottom: 20px;
}

/* Form button containers */
.form-button-group {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 20px;
}

/* Form styling improvements */
.container-add-user {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container-add-user h1 {
    color: #153f82;
    margin-bottom: 30px;
    font-family: Poppins-Medium;
}

.form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
    min-height: 40px;
}

.form-row label {
    font-family: Poppins-Medium;
    font-size: 14px;
    color: #333;
    min-width: 150px;
    margin: 0;
    text-align: right;
    padding-top: 10px;
    flex-shrink: 0;
    font-weight: bold;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: Poppins-Regular;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #153f82;
    outline: none;
    box-shadow: 0 0 0 2px rgba(21, 63, 130, 0.1);
}

.form-row input[readonly] {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
}

.form-row input:disabled {
    background-color: #f0f0f0;
}

.form-row .checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.form-row .checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex: none;
}

.form-row .checkbox-container label {
    min-width: auto !important;
    margin: 0 !important;
    text-align: left !important;
    padding-top: 0 !important;
    font-weight: normal !important;
}

/* Form section styling */
.form-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
}

.form-section h2 {
    color: #153f82;
    font-family: Poppins-Medium;
    margin-bottom: 15px;
    font-size: 18px;
}

.form-section h3 {
    color: #333;
    font-family: Poppins-Medium;
    margin-bottom: 10px;
    font-size: 16px;
}

/* API Key section styling */
.api-key-section {
    border: 2px solid #e9ecef;
    margin: 15px 0;
    padding: 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.api-key-section:hover {
    border-color: #153f82;
    background-color: #f0f4ff;
}

.threatshield-section {
    border: 2px solid #007cba;
    margin: 15px 0;
    padding: 20px;
    border-radius: 8px;
    background-color: #f0f8ff;
}

/* API key fields toggle */
.api-key-fields {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.api-key-fields.show {
    display: block;
}

/* Existing key styling */
.existing-key {
    color: #666;
    font-style: italic;
    font-size: 12px;
    margin-top: 4px;
    font-family: Poppins-Regular;
}

/* Required field styling */
.required-field {
    color: #dc3545 !important;
    font-weight: bold !important;
}

/* Button styling */
.form-submit-btn {
    background-color: #153f82;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-family: Poppins-Medium;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.form-submit-btn:hover {
    background-color: #0f2f5f;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    font-family: Poppins-Medium;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-secondary:hover {
    background-color: #545b62;
}

/* Better spacing for complex forms */
.form-section .form-row {
    margin-bottom: 15px;
}

.api-key-section .form-row {
    margin-bottom: 12px;
}

/* Number input styling */
input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .form-row label {
        min-width: auto;
        text-align: left;
        padding-top: 0;
    }
    
    .container-add-user {
        margin: 10px;
        padding: 15px;
    }
}

/* Override any conflicting styles */
.form-row > div {
    flex: 1;
}

.form-row > div input,
.form-row > div select {
    width: 100%;
    box-sizing: border-box;
}

/* Fix the main labels (left side) for checkbox rows */
.form-row label:first-child {
    font-family: Poppins-Medium !important;
    font-size: 14px !important;
    color: #333 !important;
    min-width: 150px !important;
    margin: 0 !important;
    text-align: right !important;
    padding-top: 0 !important; /* Remove padding-top for checkbox rows */
    flex-shrink: 0 !important;
    font-weight: bold !important;
    display: flex !important;
    align-items: center !important; /* Center the label vertically */
    height: 100% !important;
}

/* Keep the existing checkbox wrapper styling */
.checkbox-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: auto !important;
}

.checkbox-wrapper input[type="checkbox"] {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.checkbox-wrapper label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-weight: normal !important;
}

/* Alternative: More specific fix for checkbox rows only */
.form-row:has(input[type="checkbox"]) label:first-child {
    padding-top: 0 !important;
    display: flex !important;
    align-items: center !important;
}
.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    padding: 5px;
}

.password-toggle:hover {
    color: #153f82;
}

.form-row {
    position: relative;
}

/* Icon for encrypted fields */
.fa-lock {
    font-size: 12px;
}