/* One Time Secrets - Main Stylesheet */

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* Typography */
h1, h2 {
  margin-bottom: 20px;
  color: #2c3e50;
}

h1 {
  font-size: 2.2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

h2 {
  font-size: 1.6rem;
}

p {
  margin-bottom: 20px;
}

/* Header and Footer */
header {
  margin-bottom: 30px;
}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

footer a{
  text-decoration: none;
  color: #777;
}
footer a:hover{
  color: #333;
  text-decoration: underline;
}

/* Form elements */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

textarea {
  width: 100%;
  min-height: 150px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.button, button {
  display: inline-block;
  background-color: #da3931;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.button:hover, button:hover {
  background-color: #ca1931;
}

/* Secret display */
.secret-display, .secret-created, .create-secret {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.secret-content {
  margin: 20px 0;
}

.secret-content textarea {
  background-color: #fff;
}

/* Secret URL display */
.secret-url {
  display: flex;
  margin: 20px 0;
}

.secret-url input {
  flex-grow: 1;
  margin-right: 10px;
}

.copy-button {
  white-space: nowrap;
}

/* Error message */
.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }
  
  .secret-url {
    flex-direction: column;
  }
  
  .secret-url input {
    margin-right: 0;
    margin-bottom: 10px;
  }
}