/* General Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Headings */
h1, h2, h3 {
    color: #222;
}

/* Splash Page */
form {
    /*background: white;
    padding: 20px;
    margin: 10px auto;
    border-radius: 8px;*/
    max-width: 400px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #4456a6;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #2f3b80;
}

/* Signup Modal */
#signupModal {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 999;
    background: white;
    padding: 20px;
    width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.submission-form-wrapper {
    max-width: 900px;
    margin-left: 0;
    padding-left: 0;
    padding-right: 20px;
    box-sizing: border-box;
}

.submission-form-wrapper textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 15px;
}

.submission-form-wrapper input,
.submission-form-wrapper select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .submission-form-wrapper textarea {
        height: 500px;
    }
}

/* Dashboard Layout */
.dashboard {
    display: grid;
    grid-template-columns: 220px 1fr 300px;
    grid-template-rows: auto 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.full-width-form {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.full-width-form textarea {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1rem;
}

nav {
    grid-row: 1 / span 2;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style-type: none;
}

nav li {
    margin-bottom: 15px;
}

nav a {
    text-decoration: none;
    color: #4456a6;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

.teaser-section {
    grid-column: 2 / span 1;
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.activity-sidebar {
    grid-column: 3 / span 1;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.activity-sidebar h4,
.activity-sidebar h5 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.activity-sidebar ul {
    list-style-type: disc;
    margin-left: 20px;
}

p, li {
    margin-bottom: 10px;
}

/* Notifications, Emails, Friend Requests */
.nav-extras {
    margin-top: 30px;
    border-top: 1px solid #ccc;
    padding-top: 15px;
}

/* Footer (optional) */
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9em;
    color: #888;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .dashboard {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    nav, .teaser-section, .activity-sidebar {
        grid-column: 1 / span 1;
    }
}
