* {
  margin: 0;
  padding: 0;

}

body {
  background-color: #f1f2f3;
}

.container {
  width: 100%;
  max-width: 1600px;
  min-width: 1100px;
  box-sizing: border-box;
  margin: 25px auto;
}

.container *{
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #1a2a6c, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.subtitle {
  font-size: 1rem;
  color: #7f8c8d;
  max-width: 95%;
  margin: 0 auto;
  line-height: 1.6;
}

.main-content {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.input-section,
.output-section {
  flex: 1;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid #eaeaea;
}

.input-section:hover,
.output-section:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.controls-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #eaeaea;
}

.conversion-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.conversion-btn {
  padding: 18px 15px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid #e0e0e0;
}

.conversion-btn:hover {
  background: #e3f2fd;
  border-color: #3498db;
}

.conversion-btn.active {
  background: #fff;
  color: #3498db;
  border-color: #3498db;
}

.action-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.action-btn {
  padding: 15px 45px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.convert-btn {
  background: #3498db;
  color: white;
}

.convert-btn:hover {
  background: #2980b9;
}

.copy-btn {
  background: #2ecc71;
  color: white;
}

.copy-btn:hover {
  background: #27ae60;
}

.clear-btn {
  background: #e74c3c;
  color: white;
}

.clear-btn:hover {
  background: #c0392b;
}

textarea {
  width: 100%;
  height: 300px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  resize: vertical;
  background: #f8f9fa;
  transition: all 0.3s;
  color: #666;
  line-height: 1.8;
}

textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  background: #fff;
}

.output-text {
  background: #f0f8ff;
}

.about-section {
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #eaeaea;
}

.about-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
  gap: 15px;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
}

.about-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.about-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #3498db;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

.footer {
  text-align: center;
  padding: 10px;
  color: #7f8c8d;
  font-size: 1rem;
}

.notification {
  position: fixed;
  top: 60px;
  right: 30px;
  padding: 18px 35px;
  background: #2ecc71;
  color: white;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateX(200%);
  transition: transform 0.4s ease;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification.show {
  transform: translateX(0);
}

.conversion-icon {
  font-size: 1.8rem;
}

.input-info {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #7f8c8d;
  padding: 0 5px;
}

.example {
  font-size: 0.95rem;
  color: #7f8c8d;
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
  font-family: monospace;
}
