/* CyberCumbria: Fake Website Challenge */

.web-lab {
  max-width: 850px;
  margin: auto;
  padding: 35px 20px 75px;
}

.web-intro {
  text-align: center;
  margin-bottom: 35px;
}

.web-intro > p:last-child {
  max-width: 650px;
  margin: 16px auto;
  line-height: 1.8;
}

.web-kicker {
  color: #85d9fa;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.web-panel {
  background: #0c2032;
  border: 1px solid #315b76;
  border-radius: 18px;
  padding: clamp(18px,4vw,32px);
  margin-bottom: 28px;
}

.web-status {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #91dcf9;
  font-size: .8rem;
  font-weight: 800;
}

.web-progress {
  height: 6px;
  background: #28465c;
  border-radius: 20px;
  overflow: hidden;
  margin: 18px 0 30px;
}

#progress {
  height: 100%;
  background: #39b9e9;
  width: 20%;
  transition: width .3s;
}

.web-panel h3 {
  margin: 30px 0 10px;
}

.browser {
  background: #f5f7fa;
  color: #183047;
  border: 1px solid #748a9b;
  border-radius: 13px;
  overflow: hidden;
  margin: 30px 0;
  box-shadow: 0 15px 35px #0004;
}

.browser-bar {
  background: #dce5ec;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.browser-dots {
  color: #8296a6;
  white-space: nowrap;
  font-size: .7rem;
}

.address {
  background: white;
  border: 1px solid #b9c9d4;
  border-radius: 7px;
  padding: 11px;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: .8rem;
}

.browser-content {
  padding: clamp(20px,5vw,40px);
  text-align: center;
}

.site-heading {
  font-size: 1.65rem;
  font-weight: 800;
  color: #153c57;
  overflow-wrap: anywhere;
}

.browser-content p {
  color: #455d6e;
  line-height: 1.7;
}

.site-notice {
  background: #e2ebf1;
  border-radius: 9px;
  padding: 17px;
  margin: 23px 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.fake-form {
  max-width: 340px;
  margin: 20px auto;
}

.fake-field {
  border: 1px solid #b8c8d4;
  border-radius: 7px;
  padding: 13px;
  text-align: left;
  margin: 10px 0;
  color: #718695;
}

.fake-button {
  background: #247fa9;
  color: white;
  padding: 13px;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 12px;
}

.site-footer {
  margin-top: 30px;
  color: #657d8c;
  font-size: .8rem;
}

.web-options {
  display: grid;
  gap: 11px;
  margin: 20px 0 30px;
}

.web-option {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: #132e43;
  border: 1px solid #365d77;
  border-radius: 11px;
  padding: 16px;
  cursor: pointer;
  line-height: 1.5;
}

.web-option:has(input:checked) {
  background: #17405a;
  border-color: #42bce8;
}

.web-option input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #42bce8;
}

.web-button {
  background: #188cb9;
  color: white;
  border: 1px solid #6ed4f5;
  border-radius: 10px;
  padding: 15px 23px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  margin: 8px 10px 8px 0;
}

.web-button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.web-feedback, .web-result {
  background: #153449;
  border: 1px solid #416d87;
  border-radius: 12px;
  padding: 20px;
  margin: 23px 0;
  line-height: 1.7;
}

.web-feedback li {
  margin: 12px 0;
}

.web-final {
  font-size: 2rem;
  font-weight: 800;
  color: #8bdeff;
}

.web-safety {
  border: 1px solid #31536d;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 25px;
  line-height: 1.7;
}

[hidden] {
  display: none !important;
}

@media(max-width:500px) {
  .web-lab {
    padding-left: 13px;
    padding-right: 13px;
  }
  .browser-bar {
    flex-wrap: wrap;
  }
}
