body, html {
height: 100%;
margin: 0;
padding: 0;
font-family: sans-serif;
background: linear-gradient(to bottom right, #1e3c72, #9b59b6); /* blue to purple */
color: white;
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
}
header {
text-align: center;
margin: 30px 0;
}
header h1 {
font-size: 2.5em;
margin: 0;
color: white;
}
#new-thread, .thread, .reply, .auth-container {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255,255,255,0.2);
padding: 15px;
margin-bottom: 20px;
border-radius: 10px;
width: 90%;
max-width: 700px;
}
textarea, input[type="text"], input[type="password"] {
width: 100%;
background: #eee;
color: black;
padding: 10px;
margin-top: 10px;
border: none;
border-radius: 5px;
}
button {
margin-top: 10px;
padding: 10px 16px;
border: none;
background: #6c5ce7;
color: white;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background: #5a4dbf;
}
img {
max-width: 100%;
margin-top: 10px;
border-radius: 5px;
}
.emoji-wrap {
position: relative;
}
.emoji-button {
position: absolute;
right: 10px;
bottom: 10px;
background: transparent;
border: none;
font-size: 1.2em;
cursor: pointer;
}
/* Auth container for login/register */
.auth-container {
margin-top: 50px;
text-align: center;
}