body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1, h2, h3 {
  color: #2c3e50;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

section {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 5px;
}

input[type="email"],
input[type="password"],
input[type="number"],
select {
  width: calc(100% - 22px);
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  background-color: #28a745;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-right: 10px;
}

button:hover {
  background-color: #218838;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#user-status {
  font-weight: bold;
  margin-bottom: 15px;
  color: #007bff;
}

#app-content {
  display: none; /* Hidden by default until user logs in */
}

.message-status {
  margin-top: 10px;
  padding: 8px;
  border-radius: 4px;
  font-weight: bold;
}

.message-status.success {
  background-color: #d4edda;
  color: #155724;
}

.message-status.error {
  background-color: #f8d7da;
  color: #721c24;
}

.writing-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.writing-item h3 {
  margin-top: 0;
  margin-bottom: 5px;
  border-bottom: none;
  padding-bottom: 0;
  color: #34495e;
}
/* Add this to your main.css or head of my-contributions.html */
.action-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFC107; /* Gold */
    color: #4A148C; /* Deep Purple */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    white-space: nowrap; /* Prevents text from wrapping */
}

.action-button:hover {
    background-color: #FFD54F; /* Lighter gold on hover */
    transform: translateY(-2px); /* Slight lift effect */
}
