:root {
  --primary-color: #6dc067;
  --warning-color: #b20e0e;
  --light-gray: #f4f4f4;
  --white: #ffffff;
  --black: #000000;
}

@font-face {
  font-family: "Bw Surco";
  src: url("../fonts/BwSurcoDEMO-Light.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bw Surco";
  src: url("../fonts/BwSurcoDEMO-LightItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bw Surco";
  src: url("../fonts/BwSurcoDEMO-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bw Surco";
  src: url("../fonts/BwSurcoDEMO-LightItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bw Surco";
  src: url("../fonts/BwSurcoDEMO-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Bw Surco";
  src: url("../fonts/BwSurcoDEMO-Light.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
form, button, input, select {
  font-family: "Bw Surco", Arial, sans-serif;
}

.form-group {
  width: 100%;
  margin-bottom: 15px;
}

fieldset {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  row-gap: 20px;
  width: 100%;
  border: none;
}
fieldset .form-group {
  margin: 0;
}
fieldset label {
  font-size: 20px;
  line-height: 1;
  width: 100%;
  display: block;
  padding-bottom: 8px;
}
fieldset select {
  width: 100%;
  display: block;
  padding: 8px;
  font-size: 18px;
  line-height: 1;
  border: 2px solid rgb(227, 227, 227);
  transition: all 0.3s ease-in-out;
}
fieldset select:focus, fieldset select:active, fieldset select:hover {
  border-color: var(--primary-color);
  outline: none;
}

input {
  width: 100%;
  padding: 8px;
  margin-top: 8px;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 1;
  border: 2px solid rgb(227, 227, 227);
  transition: all 0.3s ease-in-out;
}
input:focus, input:active, input:hover {
  border-color: var(--primary-color);
  outline: none;
}

button,
.download-xml__btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
button:hover,
.download-xml__btn:hover {
  background-color: #3d8b40;
}

select {
  width: 200px;
  height: 40px;
  border: none;
  border-radius: 4px;
  background-color: #f2f2f2;
  padding: 10px;
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

.content {
  background-color: #fff;
  margin: 10px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 90vw;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .content {
    width: 50vw;
  }
}

.header {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  width: 90vw;
  gap: 20px;
  margin: auto;
  margin-bottom: 20px;
  padding: 20px 0 0;
  box-sizing: border-box;
}
@media screen and (min-width: 350px) {
  .header {
    justify-content: space-between;
  }
}
@media screen and (min-width: 768px) {
  .header {
    flex-flow: row wrap;
    width: 50vw;
    padding: 20px 20px 0;
  }
}
.header .logo img {
  max-width: 200px;
}
.header .logout {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.header .logout a,
.header .logout form {
  display: block;
}

.menu {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.menu-item {
  width: 100%;
  box-sizing: inherit;
}
@media screen and (min-width: 640px) {
  .menu-item {
    width: calc(50% - 10px);
  }
}
.menu-item a {
  display: block;
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-sizing: inherit;
}
.menu-item a:hover {
  background-color: #3d8b40;
}

.index-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login_logo {
  width: 300px;
  text-align: center;
  margin: 10px auto;
}
.login_logo img {
  max-width: 100%;
}

.login-container,
.page-container {
  background-color: #fff;
  margin: 10px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
  box-sizing: border-box;
}

.page-content {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.success-message {
  color: var(--primary-color);
  margin-bottom: 30px;
}

.error-message {
  color: var(--warning-color);
  margin-bottom: 30px;
}
.error-message span {
  background-color: var(--warning-color);
  color: white;
  margin-top: 20px;
  font-size: 14px;
  padding: 10px;
  text-align: center;
  display: block;
}

.settings-form {
  margin-bottom: 20px;
}

.tabs-navigation {
  display: block;
  margin-bottom: -2px;
  box-sizing: border-box;
}
.tabs-navigation__menu {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tabs-navigation__menu-item button {
  background-color: transparent;
  color: #000;
  border: 2px solid rgba(227, 227, 227, 0.3);
  border-radius: 4px;
  text-transform: capitalize;
}
.tabs-navigation__menu-item.is-active button {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.tabs-content {
  display: block;
  box-sizing: border-box;
}
.tabs-content__tab {
  display: none;
}
.tabs-content__tab h2 {
  text-transform: capitalize;
}
.tabs-content__tab.is-active {
  display: block;
}

.table-wrapper {
  box-sizing: inherit;
  overflow: scroll;
}

.users-listing {
  border-collapse: collapse;
  border: none;
  width: 100%;
}
.users-listing tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.users-listing tr:nth-of-type(odd) {
  background-color: var(--white);
}
.users-listing tr:nth-of-type(even) {
  background-color: var(--light-gray);
}
.users-listing tr th {
  padding: 10px 5px;
  font-size: 18px;
}
.users-listing tr td {
  padding: 10px 5px;
}
.users-listing a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.users-listing a:hover {
  color: #3d8b40;
}

.users-actions {
  margin-top: 20px;
  text-align: right;
}

.generate-xml-form,
.download-xml,
.download-error,
.settings-form {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  row-gap: 20px;
  border: 2px solid rgba(227, 227, 227, 0.3);
  border-radius: 4px;
  padding: 20px;
  box-sizing: border-box;
}
.generate-xml-form p,
.download-xml p,
.download-error p,
.settings-form p {
  font-size: 22px;
  margin: 0;
}

.loading {
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(3px);
}

.download-xml,
.loading,
.download-error {
  display: none;
  padding: 20px;
}
.download-xml.is-active,
.loading.is-active,
.download-error.is-active {
  display: flex !important;
}

body {
  font-family: "Bw Surco", Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  height: 100vh;
}