/* Crypto Address Validator — golden luxury */

.tool-page-shell .tool-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.validator-card {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(248, 238, 222, 0.97));
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 14px 36px -24px rgba(94, 65, 30, 0.35);
  border: 1px solid rgba(145, 103, 48, 0.2);
}

.input-section {
  margin-bottom: 40px;
}

.input-section label {
  display: block;
  color: #5e4329;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

#crypto-address {
  width: 100%;
  padding: 16px;
  background: #fffaf2;
  border: 1px solid rgba(145, 103, 48, 0.26);
  border-radius: 12px;
  color: #4a351f;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  resize: vertical;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#crypto-address:focus {
  outline: none;
  border-color: #ab7c34;
  box-shadow: 0 0 0 3px rgba(171, 124, 52, 0.16);
}

#crypto-address::placeholder {
  color: #8c7558;
}

.crypto-type-selector {
  margin: 20px 0;
}

.crypto-type-selector label {
  color: #5e4329;
  font-weight: 600;
  margin-bottom: 8px;
}

#crypto-type {
  width: 100%;
  padding: 12px 16px;
  background: #fffaf2;
  border: 1px solid rgba(145, 103, 48, 0.26);
  border-radius: 8px;
  color: #4a351f;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

#crypto-type:focus {
  outline: none;
  border-color: #ab7c34;
  box-shadow: 0 0 0 3px rgba(171, 124, 52, 0.14);
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.btn i {
  font-size: 1.1rem;
  margin-right: 10px;
}

.result-section {
  margin-top: 40px;
}

.result-box {
  background: #fffaf2;
  border: 1px solid rgba(145, 103, 48, 0.2);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.result-box.hidden {
  display: none;
}

.result-box.valid {
  border-color: rgba(90, 124, 58, 0.45);
  box-shadow: 0 0 0 1px rgba(90, 124, 58, 0.12);
}

.result-box.invalid {
  border-color: rgba(184, 74, 61, 0.45);
  box-shadow: 0 0 0 1px rgba(184, 74, 61, 0.1);
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.result-header h3 {
  color: #4f3a24;
  margin: 0;
  font-size: 1.4rem;
}

.status-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.valid {
  background: rgba(107, 143, 60, 0.15);
  color: #5a7c3a;
  border: 1px solid rgba(90, 124, 58, 0.4);
}

.status-badge.invalid {
  background: rgba(255, 71, 87, 0.12);
  color: #c94a3a;
  border: 1px solid rgba(255, 71, 87, 0.35);
}

.result-details {
  display: grid;
  gap: 15px;
}

.detail-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(145, 103, 48, 0.12);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item .label {
  color: #7a5526;
  font-weight: 600;
  min-width: 120px;
  margin-right: 20px;
}

.detail-item .value {
  color: #4a351f;
  font-family: 'Courier New', monospace;
  word-break: break-all;
  flex: 1;
}

.info-section {
  background: rgba(182, 138, 58, 0.08);
  border: 1px solid rgba(145, 103, 48, 0.18);
  border-radius: 12px;
  padding: 25px;
}

.info-section h3 {
  color: #5e4329;
  margin-bottom: 20px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.crypto-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 252, 246, 0.9);
  border-radius: 8px;
  color: #4a351f;
  border: 1px solid rgba(145, 103, 48, 0.12);
  transition: all 0.3s ease;
}

.crypto-item:hover {
  background: rgba(182, 138, 58, 0.1);
  transform: translateX(5px);
}

.crypto-item i {
  font-size: 1.3rem;
  color: #b98b3b;
}

@media (max-width: 768px) {
  .tool-container {
    padding: 0 0;
  }

  .validator-card {
    padding: 25px 20px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-secondary {
    border: 1px solid rgba(145, 103, 48, 0.4);
  }

  .result-box {
    border: 1px solid rgba(145, 103, 48, 0.2);
    padding: 20px;
  }

  .result-box.valid {
    border: 1px solid rgba(90, 124, 58, 0.45);
  }

  .result-box.invalid {
    border: 1px solid rgba(255, 71, 87, 0.45);
  }

  .result-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-badge {
    align-self: flex-start;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-item .label {
    margin-bottom: 5px;
    margin-right: 0;
  }

  .crypto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .validator-card {
    padding: 20px 15px;
    border: 1px solid rgba(145, 103, 48, 0.2);
  }

  #crypto-address {
    padding: 14px;
    border: 1px solid rgba(145, 103, 48, 0.26);
  }

  #crypto-address:focus {
    border-color: #ab7c34;
    box-shadow: 0 0 0 3px rgba(171, 124, 52, 0.12);
  }

  #crypto-type {
    border: 1px solid rgba(145, 103, 48, 0.26);
  }

  #crypto-type:focus {
    border-color: #ab7c34;
    box-shadow: 0 0 0 3px rgba(171, 124, 52, 0.1);
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .btn-secondary {
    border: 1px solid rgba(145, 103, 48, 0.4);
  }

  .result-box {
    border: 1px solid rgba(145, 103, 48, 0.2);
    padding: 18px;
    border-radius: 10px;
  }

  .info-section {
    border: 1px solid rgba(145, 103, 48, 0.15);
    padding: 20px;
  }
}
