/* app.css */

/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f6fa;
  color: #333;
  line-height: 1.6;
}

/* Centered container */
.container {
  max-width: 650px;
  margin: 80px auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  animation: fadeIn 0.3s ease-in-out;
}

/* Heading */
h2, h3 {
  text-align: center;
  color: #222;
}

/* Form styling */
#secureForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#secureForm input,
#secureForm textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

#secureForm textarea {
  min-height: 100px;
  resize: vertical;
}

#secureForm button {
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s ease-in-out;
}

#secureForm button:hover {
  background-color: #0056b3;
}

/* Status message styling */
#statusMessage {
  margin: 1rem 0;
  text-align: center;
  font-size: 0.95rem;
  padding: 0.75rem;
  border-radius: 4px;
}

/* Success & error messages */
.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Enhanced Security Section */
.security-section {
  background: #eef5ff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-left: 5px solid #007bff;
  animation: fadeInUp 0.4s ease-in-out;
}

.security-section h3 {
  text-align: center;
  margin-bottom: 0.75rem;
  color: #007bff;
}

.security-section ul {
  margin-left: 1rem;
  padding-left: 1rem;
  list-style-type: disc;
}

.security-section ul ul {
  list-style-type: circle;
  margin-top: 0.5rem;
}

.security-section p {
  text-align: justify;
  margin-bottom: 1rem;
}

/* Simple fade-in animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
