/* Notes modal note item layout */
.note-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3em 0;
    border-bottom: 1px solid #f0f0f0;
}
.note-item > div {
    flex: 1 1 auto;
}
.note-date {
    color: #888;
    font-size: 0.95em;
    margin-left: 1em;
    white-space: nowrap;
}
.delete-note-btn {
    align-self: center;
    margin-left: 1em;
    margin-right: 0;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Notes modal delete button */
.delete-note-btn {
    background: #fff0f0;
    color: #c00;
    border: 1px solid #fbb;
    border-radius: 3px;
    font-size: 1.1em;
    margin-left: 0.7em;
    padding: 0.1em 0.5em;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.delete-note-btn:hover {
    background: #ffeaea;
    color: #a00;
    border-color: #faa;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6fa;
    margin: 0;
    padding: 0;
}

.main-container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 2em 2.5em;
}

h1, h2, h3 {
    color: #2a3a4b;
    margin-top: 0;
}

button, input[type="submit"] {
    background: #2a7ae2;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.6em 1.2em;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover, input[type="submit"]:hover {
    background: #185bb5;
}

input[type="text"], input[type="password"], input[type="file"] {
    padding: 0.5em;
    margin: 0.5em 0 1em 0;
    border: 1px solid #cfd8dc;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.status-message {
    margin-top: 1em;
    padding: 0.8em;
    border-radius: 4px;
    background: #e3f2fd;
    color: #1565c0;
    text-align: center;
}

nav {
    margin-bottom: 2em;
    text-align: center;
}
nav a {
    color: #2a7ae2;
    text-decoration: none;
    margin: 0 1em;
    font-weight: 500;
}
nav a:hover {
    text-decoration: underline;
}
