/*
Theme Name: Simple Guestbook
Author: Spacened
Version: 1.1
Description: Minimal guestbook-style theme
*/

body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    margin: 2rem auto;
    max-width: 800px;
    color: #333;
}

header, footer {
    text-align: center;
    margin-bottom: 2rem;
}

nav {
    margin-top: 0.5rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: #0073aa;
}

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

/* Guestbook entries */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}


.comment-content {
    font-size: 1em;
    line-height: 1.5;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-avatar {
    margin-right: 0.75rem;
}

.comment-meta {
    font-size: 0.85em;
    color: #666;
}

/* Form */
#respond {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
}

#respond input[type="text"],
#respond input[type="email"],
#respond textarea {
    width: 100%;
    padding: 0.5rem;
    margin: 0.25rem 0 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#respond input[type="submit"] {
    background: #0073aa;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
}

#respond input[type="submit"]:hover {
    background: #005d88;
}

.login-banner {
    text-align: center;
    font-weight: bold;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
}

.logged-in-banner {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.logged-out-banner {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

