body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    width: 100%;
}
/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 10% auto;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .menu {
        display: none;
        flex-direction: column;
        background-color: #007bff;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .menu.active {
        display: flex;
    }
}

h1 {
    text-align: center;
    color: #555;
}
p {
  margin: auto;
  font-weight:normal;
}
li {
  font-weight: normal;
}
form {
    margin: 10px auto;
    max-width: 600px;
    padding: 5px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

form input[type="text"],
form button {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    border: none;
}

form button:hover {
    background-color: #0056b3;
}

#notes-list {
    max-width: 800px;
    margin: 20px auto;
}

.note {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    margin: 5px auto;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}
.note-date{
  text-align: right;
}
.note-title {
    margin: 0;
    font-size: 1.5rem;
    color: #007BFF;
}

.note-content {
    margin: 10px 0;
}

small {
    display: block;
    color: #666;
    font-size: 0.8rem;
    font-weight:normal;
}


h1, h2, h3 {
  margin: 5px;
}
.header {
  width: 100%;
}
.header a {
  color: #8ef;
}
.header_inner {
  float: left;
  width: 100%;
  padding: 5px;
  background: #444;
  color: #fff;
}
.header .logo_section{
    float:left;
    width:30%;
    min-width:100px;
}
.logout_btn {
  float: right;
  width: 50px;
  margin-right: 10px;
  margin-top: 10px;
}
#note-form-div {
  height: 75vh;
  float: left;
  width: 100%;
  min-height: 470px;
  margin-top: 20px;
}
#note-form {
  min-height: 410px;
}
#editor {
  height: 240px !important;
}
#note-form .title {
  width: 92%;
}
.ql-container {
    font-size:15px !important;
}

.ql-toolbar.ql-snow .ql-formats {
  margin-right: 5px !important;
}
.ql-snow .ql-picker.ql-header {
  width: 80px !important;
}
.ql-snow.ql-toolbar button, .ql-snow .ql-toolbar button {
    width:25px !important;
}
.ql-toolbar.ql-snow {
    padding:4px !important;
}

.ql-toolbar.ql-snow {
  border: 1px solid #ccc;
  background: #edeffd;
}

.edit_note_btn, .delete_note_btn{
    width:45%;
    float:left;
    border: 0;
}


/* Note Card */
.note-card {
    background: #fff;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: .5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    float: left;
    width: 96%;
}

.note-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.note-content {
    color: #555;
    margin-bottom: 1rem;
    word-wrap: anywhere;
}

.read-more-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #0056b3;
}



/* Navbar Styles */
.navbar {
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.menu li {
    display: inline;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0px 10px;
  background: #333;
  float: right;
}

.menu a:hover {
    background-color: #0056b3;
    color: #fff;
    border-radius: 4px;
}

/* Responsive Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: none;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background-color: #66adf7;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        text-align: center;
        padding:5px;
    }

    .menu li {
        display: block;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
