/* Base reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f5f7fa;
  color: #1f2937;
  line-height: 1.6;
}

/* Header */
.header {
  background-color: #0a2540;
  color: #ffffff;
  padding: 40px 20px;
  text-align: center;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Main container */
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Checker section */
.checker {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.checker input {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
}

.checker input:focus {
  outline: none;
  border-color: #2563eb;
}

.checker button {
  padding: 14px 24px;
  font-size: 16px;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.checker button:hover {
  background-color: #1e40af;
}

/* Loading */
#loading {
  margin: 20px 0;
  font-size: 1rem;
}

/* Result box */
#result {
  margin-top: 30px;
  padding: 20px;
  border-radius: 6px;
}

/* Verdict styles */
.safe {
  background-color: #ecfdf5;
  border-left: 6px solid #10b981;
}

.phishing {
  background-color: #fef2f2;
  border-left: 6px solid #ef4444;
}

/* Result text */
#verdict {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

#score {
  font-weight: 600;
  margin-bottom: 15px;
}

/* Warnings list */
#warnings {
  list-style-type: disc;
  padding-left: 20px;
}

#warnings li {
  margin-bottom: 8px;
}

/* About section */
.about {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.about h3 {
  margin-bottom: 10px;
}

/* Footer */
.footer {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  background-color: #f1f5f9;
}

/* Utility */
.hidden {
  display: none;
}
