/* Modern Light Theme for Email Extractor */
:root {
  --primary-color: #4f46e5;
  --secondary-color: #6366f1;
  --text-color: #1e293b;
  --background-color: #f8fafc;
  --border-color: #e2e8f0;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

h2 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
  min-width: 300px;
}

textarea.form-control {
  width: 100%;
  height: 300px;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: white;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-color);
  resize: vertical;
  transition: var(--transition);
  box-sizing: border-box;
}

textarea.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

textarea.form-control[readonly] {
  background-color: #f8fafc;
}

kbd {
  background-color: #e2e8f0;
  border-radius: 3px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  color: #334155;
  display: inline-block;
  font-family: monospace;
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}

.article {
  max-width: 900px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.article p {
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

/* Adding FA icons compatibility */
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-envelope-o:before {
  content: "✉";
  margin: 0 10px;
}

/* Responsive design */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  
  .col {
    margin-bottom: 2rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  textarea.form-control {
    height: 250px;
  }
}