* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Header Styles */
header {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.logo h1 {
    color: #667eea;
    font-size: 2em;
    font-weight: bold;
}

.contact-info {
    text-align: center;
    flex: 1;
}

.contact-info p {
    margin: 5px 0;
    font-size: 0.9em;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-info .note {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

/* Menu Button */
.menu-button {
    cursor: pointer;
    font-size: 2em;
    padding: 5px 15px;
    user-select: none;
    color: #667eea;
    font-weight: bold;
}

.menu-button:hover {
    background: #f0f0f0;
    border-radius: 5px;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 200px;
}

.menu-dropdown.active {
    display: block;
}

.menu-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.menu-dropdown a:last-child {
    border-bottom: none;
}

.menu-dropdown a:hover {
    background: #f0f0f0;
    color: #667eea;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Forms Container */
.forms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.form-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 0.85em;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #5568d3;
}

/* Display Boxes */
.displays-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.display-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.display-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.display-box {
    max-height: 600px;
    overflow-y: auto;
}

.display-box::-webkit-scrollbar {
    width: 8px;
}

.display-box::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.display-box::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.empty-message {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.entry {
    background: #f9f9f9;
    border-left: 4px solid #667eea;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.entry-initials {
    font-weight: bold;
    color: #667eea;
    font-size: 1.1em;
}

.entry-datetime {
    color: #666;
    font-size: 0.85em;
}

.entry-message {
    color: #333;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Footer */
footer {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-logo {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    margin-bottom: 10px;
}

.footer-logo:hover {
    text-decoration: underline;
}

footer p {
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.5em;
    }
    
    .menu-button {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .forms-container,
    .displays-container {
        grid-template-columns: 1fr;
    }
}

/* Content Pages Styles */
.content-page {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.content-section h1 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 2em;
}

.content-section h2 {
    color: #667eea;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}
