@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
    font-family: "Source Sans Pro", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.5;
    background-color: #1C2333;
    padding: 2rem;
}
.container {
  max-width: 800px;
  margin: 0 auto;
}
.title {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.field {
  margin-bottom: 1rem;
}
.label {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.input {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  background-color: #2b3245;
  border: 1px solid #3c445c;
  border-radius: 4px;
  color: #e0e0e0;
}
.input:hover {
background-color: #31394e;
transition-duration: 0ms;
}
.input:focus {
background-color: #31394e;
outline: none;
transition-duration: 0ms;
}
.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background-color: #3c445c;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.button:hover {
  background-color: #4a5472;
}
.results-container {
  background-color: #212938;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1.5rem;
}
.results-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #3c445c;
}
.results-table th, .results-table td {
  padding: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #3c445c;
}
.results-table th {
  font-weight: 600;
  color: #ffffff;
}
.result-harmless { color: #4caf50; }
.result-suspicious { color: #ffc107; }
.result-undetected { color: #9e9e9e; }
.result-malicious { color: #f44336; }
.icon {
  width: 15px;
  height: 15px;
  vertical-align: middle;
  margin-right: 5px;
}
.analysis-results {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.analysis-results th, .analysis-results td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #3c445c;
}

.analysis-results th {
  background-color: #2b3245;
  font-weight: bold;
}

.analysis-results tr:nth-child(even) {
  background-color: #212938;
}

.analysis-results tr:hover {
  background-color: #2b3245;
}
.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.stat-box {
  background-color: #2b3245;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  min-width: 100px;
  margin: 10px;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-name {
  font-size: 14px;
  color: #a0a0a0;
}

.analysis-results tr:not(#view-all-row):hover {
  background-color: #2b3245;
}

#view-all-row:hover {
  background-color: transparent;
}

.view-all-button {
  background-color: #3c445c;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  width: 100%;
  text-align: center;
}

.view-all-button:hover {
  background-color: #4a5472;
}

#view-all-row td {
    padding: 16px 8px;
    border-bottom: none;
}

.tooltip-icon {
  cursor: pointer;
  margin-left: 5px;
  font-size: 14px;
  color: #4a90e2;
}

.custom-tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: "Source Sans Pro", Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  line-break: auto;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  white-space: normal;
  word-break: normal;
  word-spacing: normal;
  font-size: 0.875rem;
  word-wrap: break-word;
  opacity: 0.9;
  max-width: 600px;
  padding: 0.25rem 0.5rem;
  color: #fff;
  background-color: #000;
  border-radius: 0.25rem;
}

.title-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.title-button-container h2 {
  margin: 0;
}


.button:disabled {
  background-color: #2b3245;
  color: #666666;
  cursor: not-allowed;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #2b3245;
  margin: 15% auto;
  position: relative;
  padding: 20px;
  border: 1px solid #3c445c;
  width: 80%;
  max-width: 500px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 1px 1px hsl(0deg 0% 0% / 0.075), 0 2px 2px hsl(0deg 0% 0% / 0.075), 0 4px 4px hsl(0deg 0% 0% / 0.075), 0 8px 8px hsl(0deg 0% 0% / 0.075), 0 16px 16px hsl(0deg 0% 0% / 0.075);
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4caf50;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

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

.close-modal {
  background: none;
  border: none;
  color: #898989;
  font-size: 24px;
  cursor: pointer;
}

.close-modal:hover {
  color: white;
}