@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #f9f9f9;
    color: #222;
    line-height: 1.6;
}

/* Top bar */
.navbar {
    background:white;
    border-bottom: 1px solid #ddd;
}

.nav-inner {
    max-width: 780px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

input[name="title"] {
    width: 100%;
    padding: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: normal;      /* default normal */
    border: none;             /* remove border */
    outline: none;            /* remove focus outline */
    background: none;         /* remove background */
}

input[name="title"]:not(:placeholder-shown) {
    font-weight: 600;         /* bold when user types */
}


/* Make logo a link */
.brand a {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

/* Nav links */
.nav-links a {
    margin-left: 14px;
    text-decoration: none;
    color: #007aff;
    font-weight: 600;
    font-size: 14px;
}

/* Content */
.container {
    max-width: 780px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Notes */
.note {
    background: white;
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.note h3 {
    margin: 0 0 6px 0;
    font-size: 17px;
}

.note p {
    margin: 0 0 4px 0;
    font-size: 14px;
}

/* Forms — FIX WIDTH */
form {
    max-width: 420px;
}

/* Inputs */
input {
    width: 100%;
    padding: 8px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 10px;
}

/* TEXTAREA — NO BOX */
textarea {
    width: 100%;
    padding: 8px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 10px;
    border: none;           /* remove border */
    outline: none;          /* remove focus outline */
    resize: none;           /* remove resizer handle */
    background: none;       /* remove background */
}

/* Add Note page clean, flat style */
.add-note-container {
    background: none;  /* remove any background box */
    padding: 0;        /* remove extra padding */
}

.add-note-container h2 {
    border: none;      /* remove any border/underline */
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
}


/* Buttons */
button {
    background: #007aff;
    color: white;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    opacity: 0.9;
}

a {
    color: #007aff;
    text-decoration: none;
}

