* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;

}

.container {
  box-sizing: border-box;
  max-width: 1560px;
  min-width: 1240px;
  margin: 20px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 25px;
  text-align: center;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 90%;
  color: #8a8a8a;
  margin: 0 auto;
}

.tool-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.input-group {
  margin-bottom: 25px;
}

.container label {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #2c3e50;
}

.container textarea {
  width: 100%;
  height: 180px;
  padding: 15px;
  font-size: 1.1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  resize: vertical;
  transition: border-color 0.3s;
}

.container textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.container button {
  min-width: 220px;
  padding: 16px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.encrypt-btn {
  background: linear-gradient(to right, #3498db, #2c3e50);
  color: white;
}

.encrypt-btn:hover {
  background: linear-gradient(to right, #2980b9, #1a2530);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(52, 152, 219, 0.3);
}

.copy-btn {
  background: linear-gradient(to right, #27ae60, #2ecc71);
  color: white;
}

.copy-btn:hover {
  background: linear-gradient(to right, #219653, #27ae60);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(46, 204, 113, 0.3);
}

.clear-btn {
  background: linear-gradient(to right, #e74c3c, #c0392b);
  color: white;
}

.clear-btn:hover {
  background: linear-gradient(to right, #c0392b, #a5281b);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(231, 76, 60, 0.3);
}

.result-container {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 2px dashed #e0e0e0;
}

.result-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.result-label h3 {
  font-size: 1.2rem;
  color: #2c3e50;
}

.char-count {
  font-size: 1rem;
  color: #7f8c8d;
}

.info-section {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
}

.info-section h2 {
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: #2c3e50;
  position: relative;
}

.info-section p{
  margin-bottom: 20px;
  color: #8a8a8a;
}

.info-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  border-radius: 15px;
  padding: 15px;
  transition: transform 0.3s ease;
  border: 1px solid #eee;
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #3498db;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #34495e;
}

footer {
  width: 100%;
  opacity: 0.7;
  text-align: center;
}


.notification {
  position: fixed;
  top: 60px;
  right: 20px;
  padding: 15px 25px;
  background: #27ae60;
  color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateX(150%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateX(0);
}
