body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px; /* Increase max-width for larger screens */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto; /* Center the container */
}

.header {
    position: sticky;
    top: 0;
    background: white;
    width: 100%;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header form, .header .header-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

h1 {
    margin: 0;
    font-size: 1.5rem; /* Adjust font size */
}

textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
}

.buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.shared-text {
    width: 100%;
    text-align: left;
}

.shared-text p {
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 4px;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0;
    width: 100%;
    text-align: left;
}

ul li {
    margin-bottom: 10px;
}

ul li a {
    color: #007BFF;
    text-decoration: none;
}

ul li a:hover {
    text-decoration: underline;
}

.alert {
    width: 100%;
}

.alert p {
    margin: 0;
}
