/* Font-face declarations */
@font-face {
  font-display: fallback;
  font-family: Proxima Nova;
  src: url(./proxima_nova_light.eot?#iefix) format("embedded-opentype"),
       url(./proxima_nova_light.woff2) format("woff2"),
       url(./proxima_nova_light.woff) format("woff"),
       url(./proxima_nova_light.ttf) format("ttf"),
       url(./proxima_nova_light.svg#ProximaNova-Light) format("svg");
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-display: fallback;
  font-family: Proxima Nova;
  src: url(./proxima_nova_semibold.eot?#iefix) format("embedded-opentype"),
       url(./proxima_nova_semibold.woff2) format("woff2"),
       url(./proxima_nova_semibold.woff) format("woff"),
       url(./proxima_nova_semibold.ttf) format("ttf"),
       url(./proxima_nova_semibold.svg#ProximaNova-Semibold) format("svg");
  font-style: normal;
  font-weight: 600;
}

/* General page styling */
html {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Proxima Nova';
  font-weight: 300;
  background: rgb(240, 245, 246);
  background: -moz-linear-gradient(180deg, rgba(240, 245, 246, 1) 0%, rgba(230, 238, 240, 1) 100%);
  background: -webkit-linear-gradient(180deg, rgba(240, 245, 246, 1) 0%, rgba(230, 238, 240, 1) 100%);
  background: linear-gradient(180deg, rgba(240, 245, 246, 1) 0%, rgba(230, 238, 240, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f0f5f6", endColorstr="#e6eef0", GradientType=1);
  margin: 0;
}

.container {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 2px;
  color: black;
  min-width: 400px;
  box-shadow: 0 8px 24px rgba(231, 235, 237, 0.6);
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.divider {
  border-top: solid 1px #eaeaea;
  margin: 10px 0;
}

h1 {
  margin: 0;
  margin-left: 10px;
  font-size: 24px;
  text-align: center;
}

svg {
  width: 153.9px;  /* Fixed width */
  height: 42px;    /* Fixed height */
}

table {
  width: 100%;
}

.text--grey {
  color: rgba(0, 0, 0, 0.8);
}

td {
  padding-bottom: 5px;
}

td:last-child {
  text-align: right;
}

tfoot {
  font-weight: 600;
}

tfoot tr td {
  padding-bottom: 0;
}

button {
  cursor: pointer;
  -webkit-appearance: none;
  color: #fff;
  background-color: #429bfc;
  border: 1px solid #3393fc;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 0px 24px;
  display: block;
  white-space: nowrap;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button:hover {
  transition: all 0.2s;
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(51, 147, 252, 0.5);
  background-color: #1080fb;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

#loader {
  display: flex;
  justify-content: center;
  margin: 30px;
}

.hidden {
  display: none !important;
}

#button_loader {
  margin-right: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

img {
  animation: spin 0.7s linear 0s infinite;
}

.content {
  margin: 40px 0;
  text-align: center;
}

/* Media Queries for Responsiveness */

/* For screens larger than 768px */
@media (min-width: 768px) {
  .header {
    justify-content: center;
  }

  h1 {
    font-size: 32px;
  }

  .container {
    width: 80%;
    max-width: 900px;
    padding: 20px;
  }

  button {
    padding: 0 30px;
    font-size: 14px;
  }

  table {
    font-size: 16px;
  }
}

/* For screens 768px and below (Tablet to Small devices) */
@media (max-width: 768px) {
  .container {
    min-width: 100%;
    padding: 15px;
  }

  h1 {
    font-size: 24px;
  }

  button {
    padding: 0 20px;
    font-size: 11px;
  }

  table {
    font-size: 14px;
  }

  /* No change needed for SVG size, as it is fixed */
  .header {
    flex-direction: column;
    align-items: center;
  }

  .divider {
    margin: 15px 0;
  }
}

/* For screens 480px and below (Mobile view) */
@media (max-width: 480px) {
  /* No change needed for SVG size, as it is fixed */
}
