* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  max-width: 1560px;
  min-width: 1240px;
  width: 100%;
  margin: 20px auto;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header .description {
  font-size: 1.1rem;
  max-width: 90%;
  opacity: 0.9;
  margin: auto;
}

.main{
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}

.card {
  flex: 1;
  width: calc(50% - 10px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color:  #4a6cf7;
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

textarea {
  width: 100%;
  min-height: 180px;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.3s;
  background: #f8f9ff;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

textarea:focus {
  outline: none;
  border-color:  #4a6cf7;
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15), inset 0 2px 5px rgba(0, 0, 0, 0.05);
}

.buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn {
  flex: 1;
  padding: 14px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background:  #4a6cf7;
  color: white;
}

.btn-primary:hover {
  background: #6b81f9;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(74, 108, 247, 0.3);
}

.btn-secondary {
  background: #e9ecef;
  color: #495057;
}

.btn-secondary:hover {
  background: #dee2e6;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

.btn-success {
  background:  #10b981;
  color: white;
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(16, 185, 129, 0.3);
}

.btn-warning {
  background: #f59e0b;
  color: white;
}

.btn-warning:hover {
  background: #d97706;
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(245, 158, 11, 0.3);
}

.preview-area {
  min-height: 200px;
  padding: 25px;
  border: 2px dashed #ddd;
  border-radius: 10px;
  background: #f8f9fa;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  transition: all 0.3s;
}

.instruction-section ul {
  padding: 10px 20px;
}

.instruction-section li {
  margin-bottom: 12px;
  opacity: 0.9;
  font-size: 16px;
}


footer {
  text-align: center;
  margin-top: 10px;
  padding: 20px 0;
  color: #6c757d;
  font-size: 0.95rem;
}
