/* Tool Container Styles */
.tool-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HTTP Status Code Lookup — golden luxury */
.status-code-tool {
  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: 25px;
}

.input-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.input-header h3 {
  color: #5e4329;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

.status-input {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  background: #fffaf2;
  border: 1px solid rgba(145, 103, 48, 0.26);
  border-radius: 8px;
  color: #4a351f;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 600;
}

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

.status-card {
  background: #fffaf2;
  border-radius: 12px;
  padding: 25px;
  border: 1px solid rgba(145, 103, 48, 0.18);
}

.status-code-display {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(145, 103, 48, 0.15);
}

.status-number {
  font-size: 3rem;
  font-weight: 700;
  color: #b98b3b;
  font-family: 'Courier New', monospace;
}

.status-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #4f3a24;
}

.status-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-row .info-label {
  color: rgba(88, 64, 38, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
}

.info-row .info-value {
  color: #4a351f;
  font-size: 1rem;
  line-height: 1.6;
}

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

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(180deg, #bc8e3d 0%, #9f742f 100%);
  color: #fff8ef;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #c89a4a 0%, #aa7d34 100%);
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: #7a572c;
  border: 2px solid rgba(145, 103, 48, 0.4);
}

.btn-secondary:hover {
  background: rgba(182, 138, 58, 0.12);
  color: #5e4329;
  transform: scale(1.05);
}

.result-section {
  background: #fffaf2;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(145, 103, 48, 0.15);
  margin-top: 20px;
  overflow: hidden;
}

.error-message {
  background: rgba(173, 82, 47, 0.12);
  border: 1px solid rgba(154, 63, 43, 0.26);
  color: #9a3f2b;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tool-container {
    padding: 0 15px;
  }

  .status-code-tool {
    padding: 20px;
  }

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

  .btn {
    width: 100%;
  }

  #clearBtn.btn-secondary {
    border-width: 1px;
  }

  .status-code-display {
    flex-direction: column;
    text-align: center;
  }
}
