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

      body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        padding: 20px;
      }

/* index.html  */
h2 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
  }

  /* Sidebar Styles */
/* Sidebar Styles */
.custom-sidebar {
position: fixed;
top: 0;
left: -250px;
width: 250px;
height: 100%;
background-color: #111;
color: #fff;
padding: 10px; /* Increased padding for better spacing */
transition: 0.3s;
list-style: none; /* Hide list-style (bullet points) */
box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2); /* Added subtle shadow for better aesthetics */
}

.custom-sidebar.active {
left: 0;
}

.custom-sidebar .close-btn {
font-size: 30px;
color: white;
background: none;
border: none;
cursor: pointer;
position: absolute;
top: 10px;
right: 15px;
}

.custom-sidebar-content {
margin-top: 40px;
}

.custom-sidebar-content h3 {
color: white;
margin-bottom: 20px;
font-size: 18px;
padding-bottom: 10px;
border-bottom: 2px solid #444; /* Added bottom border for a clean section separation */
}

.custom-sidebar-content ul {
margin-top: 20px; /* Increased top margin for more space */
padding-left: 0;
}

.custom-sidebar-content ul li {
color: white;
margin: 20px 0; /* Increased margin for more space between items */
font-size: 18px;
transition: 0.3s;
}

.custom-sidebar-content ul li i {
margin-right: 10px;
font-size: 20px;
}

/* Hover effect on list items */
.custom-sidebar-content ul li:hover {
color: #4CAF50; /* Change color to green on hover */
cursor: pointer;
}

.custom-sidebar-icons {
display: flex;
justify-content: space-between;
margin-top: 30px;
}

.custom-sidebar-icons i {
color: white;
font-size: 20px;
cursor: pointer;
}

/* Main Content Styles */
.custom-main-content {
margin-left: 0;
padding: 20px;
margin-bottom: 50px;
}

.toggle-btn {
font-size: 30px;
cursor: pointer;
background-color: #111;
color: white;
border: none;
padding: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
.custom-sidebar {
  width: 200px;
}

.custom-main-content {
  padding: 20px;
}

.custom-sidebar.active {
  left: 0;
}

h2 {
  font-size: 20px;
}

.custom-form input {
  font-size: 14px;
}

.custom-form button {
  font-size: 14px;
}
}

  /* Form Styles */


  .custom-form {
    display: flex;
    flex-direction: column;
    max-width: 400px; /* Smaller form width */
    margin: 0 auto; /* Center the form */
    padding: 0 20px;
    background-color: #f9f9f9; /* Light background color for the form */
    border-radius: 10px; /* Rounded corners for the form */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Light shadow for form */
  }

  /* Label Styles */
  .custom-form label {
    font-size: 16px;
    color: #555; /* Slightly lighter color for the label */
    margin-bottom: 8px;
    font-weight: 500; /* Slightly bolder label */
  }

  /* Input Field Styles */
  .custom-form input,
  .custom-form textarea {
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd; /* Lighter border */
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
  }

  .custom-form input:focus,
  .custom-form textarea:focus {
    border-color: #007BFF; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Focus shadow effect */
    outline: none; /* Remove default outline */
  }

  /* Button Styles */
  .custom-form button {
    padding: 12px;
    background-color: #007BFF; /* Blue button */
    color: white;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
    margin-top: 12px;
  }

  .custom-form button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
  }

  .custom-form button:active {
    transform: translateY(0); /* Return to normal state on click */
  }


  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .custom-sidebar {
      width: 200px;
    }

    .custom-main-content {
      padding: 20px;
    }

    .custom-sidebar.active {
      left: 0;
    }

    h2 {
      font-size: 20px;
    }

    .custom-form input {
      font-size: 14px;
    }

    .custom-form button {
      font-size: 14px;
    }
  }


  /* Entry Container */
  .entry-container {
    max-width: 600px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  /* Header */
  .entry-header h1 {
    text-align: center;
    color: #333;
    font-size: 26px;
    margin-bottom: 20px;
  }

  /* Entry Info */
  .entry-info p {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
  }

  /* Date Section */
  .entry-date p {
    font-size: 16px;
    color: #333;
    margin: 10px 0;
  }

  /* Input Fields */
  .entry-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .entry-form label {
    font-size: 16px;
    color: #333;
  }

  .entry-form input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 100%;
  }

  .entry-form input:focus {
    border-color: #4CAF50;
    outline: none;
  }

  /* Buttons */
  .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }

  .submit-btn, .logout-btn {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    width: 48%;
  }

  .submit-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    transition: background-color 0.3s;
  }

  .submit-btn:hover {
    background-color: #45a049;
  }

  .logout-btn {
    background-color: #f44336;
    color: white;
    border: none;
    transition: background-color 0.3s;
  }

  .logout-btn:hover {
    background-color: #e53935;
  }

  /* Error Message */
  .error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 10px;
  }
  /* footer */
      /* Footer Styling */
      .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #f8f9fa;
        box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 0;
        z-index: 1000;
      }

      .footer-item {
        text-align: center;
        flex: 1;
        font-size: 14px;
        color: #333;
      }

      .footer-item i {
        display: block;
        font-size: 20px;
        color: #007bff;
        margin-bottom: 5px;
      }

      .footer-item:hover {
        background-color: #e9ecef;
        cursor: pointer;
      }

      /* Mobile Responsiveness */
      @media (max-width: 768px) {
        .footer {
          font-size: 12px;
        }

        .footer-item i {
          font-size: 18px;
        }
      }
