 /* imports */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Reset Settings */
:root {
  /* color */
  --primary-color: #e6fae7;
  --secondary-color: #f4f4f4;
  --third-color: #f1f1f1;
  --accent-color: #4caf50;
  --text-color: #333;
  --light-text: #666;
  --border-color: #ddd;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  /* font */
  --primary-font: "Roboto", sans-serif;
  --secondary-font: "Lora", serif;
  --third-font: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--text-color);
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 10px;
}

body {
  background-color: white;
  font-family: var(--primary-font);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

 
     
    
      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
      }
      header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #ddd;
        margin-bottom: 30px;
      }
      .logo {
        font-size: 24px;
        font-weight: bold;
        color: #000000;
      }
      .logo span {
        color: #3ee55d;
      }
      .user-welcome {
        background-color: #e6effd;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 20px;
        border-left: 4px solid #2c8239;
      }
      .user-welcome h2 {
        color: #2c8239;
        margin-bottom: 8px;
      }
      .user-info {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
      }
      .user-info-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
      }
      .user-info-item svg {
        color: #2c8239;
      }
      .main-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 30px;
        margin: 30px 30px;
      }
      .sidebar {
        background-color: white;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }
      .sidebar h2 {
        margin-bottom: 20px;
        color: #2c8239;
        font-size: 20px;
      }
      .sidebar-menu {
        list-style: none;
      }
      .sidebar-menu li {
        margin-bottom: 15px;
      }
      .sidebar-menu a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        padding: 10px;
        border-radius: 5px;
        transition: background-color 0.3s;
      }
      .sidebar-menu a:hover {
        background-color: #f0f0f0;
      }
      .sidebar-menu a.active {
        background-color: #e6effd;
        color: #2c8239;
      }
      .sidebar-menu a svg {
        margin-right: 10px;
      }
      .content-area {
        background-color: white;
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }
      .content-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
      }
      .content-header h1 {
        font-size: 24px;
        color: #4caf50;
      }
      .edit-btn {
        background-color: #4caf50;
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: background-color 0.3s;
      }
      .edit-btn:hover {
        background-color: #1a365d;
      }
      .profile-section {
        margin-bottom: 40px;
      }
      .profile-section h2 {
        font-size: 18px;
        margin-bottom: 20px;
        color: #4caf50;
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
      }
      .form-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 20px;
      }
      .form-group {
        margin-bottom: 20px;
      }
      .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
      }
      .form-control {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
      }
      .form-control:disabled {
        background-color: #f5f5f5;
        cursor: not-allowed;
      }
      .save-btn {
        background-color: #4caf50;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 500;
        display: none;
      }
      .save-btn:hover {
        background-color: #1a365d;
      }
      .cancel-btn {
        background-color: #f5f5f5;
        color: #333;
        border: 1px solid #ddd;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 500;
        margin-right: 10px;
        display: none;
      }
      .section-links {
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
      }
      .section-link {
        display: flex;
        align-items: center;
        background-color: #f0f0f0;
        padding: 15px;
        border-radius: 8px;
        text-decoration: none;
        color: #333;
        width: 48%;
        transition: transform 0.3s, box-shadow 0.3s;
      }
      .section-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      }
      .section-link-icon {
        background-color: #4caf50;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
      }
      .section-link-icon svg {
        color: white;
      }
      .section-link-content h3 {
        font-size: 16px;
        margin-bottom: 5px;
      }
      .section-link-content p {
        font-size: 14px;
        color: #666;
      }
      .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 15px 25px;
        background-color: #4caf50;
        color: white;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transform: translateY(-100px);
        opacity: 0;
        transition: all 0.3s ease-out;
      }
      .notification.show {
        transform: translateY(0);
        opacity: 1;
      }
      /* Loading spinner */
      .loader {
        border: 4px solid #f3f3f3;
        border-radius: 50%;
        border-top: 4px solid #3498db;
        width: 30px;
        height: 30px;
        animation: spin 1s linear infinite;
        margin: 20px auto;
        display: none;
      }
      @keyframes spin {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }
      @media (max-width: 768px) {
        .main-content {
          grid-template-columns: 1fr;
        }
        .form-row {
          grid-template-columns: 1fr;
        }
        .section-links {
          flex-direction: column;
        }
        .section-link {
          width: 100%;
          margin-bottom: 15px;
        }
        .user-info {
          flex-direction: column;
          gap: 10px;
        }
      }
    
      .sidebar-toggle {
  display: none;
  background-color: #2c8239;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  margin: 10px;
  border-radius: 5px;
}

/* Show toggle and hide sidebar on small screens */
@media (max-width: 768px) {
  .sidebar {
    display: none;
    position: absolute;
    top: 70px;
    left: 10px;
    right: 10px;
    background-color: white;
    z-index: 1000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
  }

  .sidebar.show {
    display: block;
    margin-top: 20px;
  }

  .sidebar-toggle {
    display: block;
  }
}
.close-sidebar {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #2c8239;
  cursor: pointer;
  margin-left: auto;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

@media (min-width:768px) {
  .close-sidebar{
    display: none;
  }
}
