body {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

input, button {
    display: block;
    width: 100%;
    padding: 14px; /* Increased padding */
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 18px; /* Increased font size */
}

/* Apply base input styles to textarea as well */
textarea {
    display: block;
    width: 100%;
    padding: 14px; /* Increased padding */
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: Arial, sans-serif; /* Inherit body font */
    font-size: 18px; /* Increased font size */
    min-height: 140px; /* Further increased min-height */
}

/* Style placeholder text */
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999; /* Lighter color for placeholder */
  opacity: 1; /* Firefox */
  font-size: 18px; /* Match input font size */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #999;
  font-size: 18px;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #999;
  font-size: 18px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.contact-list {
    margin-top: 20px;
}

.contact-card {
    background: #fff;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    width: 100%; /* Ensure card takes full width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap; /* Allow buttons to wrap to the next line if they don't fit */
}

.button {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    background: #28a745;
}

.logout {
    float: right;
    color: #dc3545;
    text-decoration: none;
}

.error {
    color: #dc3545;
    margin: 10px 0;
}
