:root {
  --text-color: #ffffff;
  --bg-color: #000a2e;

  --midnight-blue: #001a72;
  --dark-orange: #f68d2e;
  --dim-gray: #717277;

  --midnight-blue-shade-90: #00030b;
  --midnight-blue-shade-80: #000517;
  --midnight-blue-shade-70: #000822;
  --midnight-blue-shade-60: #000a2e;
  --midnight-blue-shade-50: #000d39;
  --midnight-blue-shade-40: #001044;
  --midnight-blue-shade-30: #001250;
  --midnight-blue-shade-20: #00155b;
  --midnight-blue-shade-10: #001767;

  --midnight-blue-tint-10: #1a3180;
  --midnight-blue-tint-20: #33488e;
  --midnight-blue-tint-30: #4d5f9c;
  --midnight-blue-tint-40: #6676aa;
  --midnight-blue-tint-50: #808db9;
  --midnight-blue-tint-60: #99a3c7;
  --midnight-blue-tint-70: #b3bad5;
  --midnight-blue-tint-80: #ccd1e3;
  --midnight-blue-tint-90: #e6e8f1;

  --boder-style: 1px solid #f68d2e;
  --blue-box-shadow: 0px 8px 16px 0px rgba(0, 21, 91, 0.09);
}

html {
  height: 100%;
  overflow-y: hidden;
}

body {
  font-family: 'Kode Mono';
  background: var(--bg-color);
  margin: 0;
  height: 100%;
}

a {
  text-decoration: none;
  color: var(--dark-orange);
}

label {
  display: inline-flex;
  justify-content: center;
  width: 100% !important;
}

header {
  display: flex;
  width: 100%;
  background-color: var(--bg-color);
}

button {
  border: none;
  cursor: pointer;
  appearance: none;
  background-color: inherit;
  padding: 10px;
}

.select {
  position: relative;
  display: inline-block;
  width: 30%;
}

.logo {
  border-right: var(--boder-style);
  width: 96px;
  padding: 3px;
}

#btn-select-desktop,
#btn-select-mobile {
  width: 100%;
  color: var(--text-color);
  font-family: inherit;
  text-align: left;
  background-image: url('https://assets.simpleproof.com/web/v1/icons/arrow-down-grey-18.svg');
  background-position: right 15px bottom 15px;
  background-repeat: no-repeat;
  height: -webkit-fill-available;
}

#btn-select-desktop:hover,
#btn-select-mobile:hover {
  color: var(--dark-orange);
  background-image: url('https://assets.simpleproof.com/web/v1/icons/arrow-down-orange-18.svg');
}

#dropdownCalendarsMob,
#dropdownCalendarsDsk {
  border-top: 1px solid var(--dark-orange);
}

.title-wrapper {
  width: 90%;
}

.block-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-orange);
  border-right: none;
  width: 10%;
}

.row {
  display: flex;
  border-bottom: 1px solid var(--dark-orange);
}

.menu {
  display: none;
}

.options {
  border-top: 1px solid var(--dark-orange);
}

.img-menu {
  width: 26px;
}

.fs-container {
  width: 20%;
  padding: 15px 0;
  border-right: 1px solid var(--dark-orange);
  height: inherit;
  display: flex;
  align-items: center;
}

.container {
  width: 100%;
}

.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.inputfile + label {
  color: var(--dark-orange);
  background-color: transparent;
  border-radius: 5px;
  font-family: 'Kode Mono';
  font-size: small;
  font-weight: 500;
  cursor: pointer;
  word-break: break-word;
  text-align: center;
}

.inputfile:focus + label,
.inputfile:enabled + label:hover {
  color: var(--text-color);
}

.file-name {
  color: var(--text-color);
  padding: 15px;
  margin: 0;
  font-size: small;
  word-break: break-all;
}

.calendar-option {
  color: var(--text-color);
  padding: 15px;
  margin: 0;
  font-size: small;
  word-break: break-all;
  cursor: pointer;
}

.calendar-option:hover {
  background-color: var(--midnight-blue-shade-30);
}

.inputsearch {
  border: none;
  width: 50%;
  background: transparent;
  font-family: inherit;
  font-size: small;
  color: var(--text-color);
  outline: none;
  padding-left: 45px;
  background-image: url('https://assets.simpleproof.com/web/v1/icons/search-orange-24.svg');
  background-position: 10px;
  background-repeat: no-repeat;
}

#filename {
  border-right: 1px solid var(--dark-orange);
  width: 70%;
}

.block-img {
  display: flex;
  padding-top: 1rem;
  flex-direction: column;
  align-items: center;
}

.block-fingerprint {
  width: 36px;
  animation: pulse 3s infinite;
  z-index: -50;
}

#blockheight {
  text-align: center;
  color: var(--text-color);
  font-weight: 700;
  font-size: small;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--midnight-blue-shade-60);
  width: 100%;
  overflow: auto;
  box-shadow: var(--blue-box-shadow);
  z-index: 1;
  border: var(--boder-style);
}

.show {
  display: block;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

input:disabled + label {
  color: var(--dim-gray);
}

input:disabled + label:hover {
  color: var(--dim-gray);
  cursor: not-allowed;
}

input:enabled + label {
  color: var(--dark-orange);
}

input:enabled + label:hover {
  color: var(--text-color);
  cursor: pointer;
}

/*************** Graph Styles ***************/
.node rect {
  stroke-width: 1px;
}

.node text {
  font: 12px 'Kode Mono';
  cursor: pointer;
}

path.link {
  fill: none;
  stroke: var(--dim-gray);
  stroke-width: 1px;
}

.graph-container {
  width: 100%;
  height: 95vh;
  text-align: center;
  overflow: hidden;
  padding: 10px 0;
}

svg {
  width: 100%;
  height: 100%;
}

/*************** RESPONSIVENESS ***************/

@media screen and (max-width: 768px) {
  .head {
    flex-direction: column;
    border: none;
    padding: 0;
    justify-content: normal;
    align-items: normal;
  }

  .logo {
    border-left: var(--boder-style);
    width: 28px;
    padding: 8px;
  }

  .fs-container {
    margin: 0;
    border: none;
    width: 100%;
    border-bottom: var(--boder-style);
  }

  .title-wrapper {
    width: 80%;
  }

  .block-wrapper {
    width: 20%;
  }

  .file-name {
    padding: 10px;
    border-left: none;
    border-bottom: var(--boder-style);
  }

  .head p:first-of-type {
    border-top: var(--boder-style);
  }

  .inputfile + label {
    border-radius: 0;
    font-size: small;
    margin-left: 0;
  }

  .menu {
    display: flex;
    border-top: var(--boder-style);
  }

  .options {
    display: none;
  }

  .inputsearch {
    border: none;
    width: 100%;
    background: transparent;
    font-family: inherit;
    color: var(--text-color);
    outline: none;
    padding-left: 45px;
    background-image: url('https://assets.simpleproof.com/web/v1/icons/search-orange-24.svg');
    background-position: 10px;
    background-repeat: no-repeat;
  }

  .block-fingerprint {
    width: 35px;
  }

  #blockheight {
    font-size: small;
    text-align: center;
  }

  #filename {
    border-right: none;
    border-bottom: none;
    width: 100%;
  }

  .dropdown-content {
    overflow: visible;
    border: none;
    border-top: var(--boder-style);
    border-bottom: var(--boder-style);
  }

  .select {
    width: 100%;
  }

  #btn-select-desktop,
  #btn-select-mobile {
    background-position: right 15px bottom 10px;
  }

  .select-desktop {
    display: none;
  }
}

/*************** SWEETALERT STYLES ***************/

.swal2-popup {
  border: 1px solid var(--dark-orange);
}

.swal2-close:focus {
  box-shadow: none !important;
}

.swal-title {
  color: var(--dark-orange);
  font-size: medium;
  line-height: 2;
  margin: 0;
}

.short-name {
  background-color: #eeeeee1a;
  color: var(--text-color);
  padding: 4px 8px;
  text-align: center;
  border-radius: 3px;
  border: 1px solid var(--dark-orange);
  font-weight: 300;
  font-size: small;
}

.info-title {
  color: var(--dark-orange);
  font-weight: 500;
  font-size: small;
}

.info-text {
  color: var(--text-color);
  font-size: small;
  text-align: left;
  word-break: break-all;
}

.hash-op {
  background-color: #f7941a5b;
  color: var(--text-color);
  padding: 2px 4px;
  text-align: center;
  border-radius: 1px;
  margin: 0 2px;
}

.sha-op {
  line-height: 2;
}

.copy-button {
  font-family: 'Kode Mono';
  color: var(--text-color) !important;
}

.swal2-popup .swal2-styled:focus {
  box-shadow: none !important;
}

/*************** TOAST STYLES ***************/
.toast {
  background: var(--bg-color);
  font-size: small;
  font-weight: 500;
  color: var(--text-color);
  border: 2px solid var(--text-color);
  padding: 10px 20px;
}
