:root {
  --primary: #4361ee;
  --secondary: #3f37c9;
  --light: #f8f9fa;
  --dark: #1a1a2e;
  --border-radius: 12px;
  --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: var(--dark);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Tool Container */
.tool-container {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

/* Headings */
.tool-container h1,
.tool-container h2 {
  font-size: 1.8rem;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Labels & Paragraphs */
label {
  font-weight: 500;
  color: var(--dark);
}

.tool-container p {
  text-align: center;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Input Fields */
input[type="number"],
select {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  transition: var(--transition);
}

input[type="number"]:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
  outline: none;
}

/* Button */
button.convert-btn {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem;
  width: 100%;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

button.convert-btn:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

/* Result Display */
.result-box {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  background: #e7f0fe;
  padding: 1rem;
  border-radius: var(--border-radius);
  color: var(--dark);
  box-shadow: var(--box-shadow);
}

/* Alert */
.alert {
  margin-top: 1rem;
  border-radius: var(--border-radius);
  padding: 1rem;
  font-weight: 500;
}

/* Ad / Sidebar Box */
.ad-box {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.ad-box h5 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.ad-placeholder {
  background: #f1f3f5;
  border: 2px dashed #ccc;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  color: #777;
}

/* Disclaimer box */
.disclaimer-box {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  font-size: 0.95rem;
}
