* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      background-color: rgb(18, 19, 20);
      color: #cccccc;
      height: 100vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    /* Title Bar */
    .title-bar {
      height: 30px;
      background: #3c3c3c;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 0 0 12px;
      -webkit-app-region: drag;
      font-size: 13px;
      border-bottom: 1px solid #1e1e1e;
      flex-shrink: 0;
    }

    .title-bar-left {
      display: flex;
      align-items: center;
      gap: 2px;
    }

    .menu-item {
      padding: 2px 8px;
      cursor: pointer;
      border-radius: 4px;
      color: #cccccc;
      font-size: 13px;
    }

    .menu-item:hover {
      background: rgba(255,255,255,0.1);
    }

    .menu-item.active {
      background: rgba(255,255,255,0.12);
      color: #ffffff;
    }

    .title-bar-center {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      color: #969696;
      font-size: 12px;
      pointer-events: none;
    }

    .window-controls {
      display: flex;
      height: 100%;
    }

    .window-btn {
      width: 46px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 10px;
      color: #cccccc;
      transition: background 0.15s;
    }

    .window-btn:hover {
      background: rgba(255,255,255,0.1);
    }

    .window-btn.close:hover {
      background: #e81123;
      color: white;
    }

    /* Layout */
    .container {
      display: flex;
      flex: 1;
      overflow: hidden;
    }

    /* Sidebar */
    .sidebar {
      width: 48px;
      background: #333333;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 8px;
      gap: 4px;
      flex-shrink: 0;
    }

    .icon {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 30px;
      font-size: 30px;
      cursor: pointer;
      color: #858585;
      position: relative;
      transition: color 0.2s;
      font-size: 25px;
    }

    .icon:hover {
      color: #cccccc;
    }

    .icon.active {
      color: #cccccc;
    }

    .icon.active::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 2px;
      background: white;
    }

    .badge {
      position: absolute;
      bottom: 8px;
      right: 8px;
      width: 14px;
      height: 14px;
      background: #d28e5c;
      border-radius: 50%;
      font-size: 9px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1e1e1e;
      font-weight: bold;
    }

    .icon.bottom {
      font-size: 25px;
    }
    .icon_div{

      margin-top: auto;
    }

    /* Main Content */
    .main-wrapper {
      flex: 3;
      display: flex;
      flex-direction: column;
      background: #1e1e1e;
      overflow: hidden;
    }

    /* Tab Bar */
    .tab-bar {
      height: 35px;
      background: #252526;
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }

    .tab {
      height: 35px;
      padding: 0 12px;
      display: flex;
      align-items: center;
      gap: 6px;
      background: #1e1e1e;
      border-top: 1px solid #007acc;
      font-size: 12px;
      color: #cccccc;
      cursor: pointer;
    }

    .tab i {
      color: #007acc;
      font-size: 14px;
    }

    .tab-close {
      width: 16px;
      height: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 3px;
      margin-left: 4px;
      font-size: 14px;
    }

    .tab-close:hover {
      background: #3c3c3c;
    }

    .tab-actions {
      margin-left: auto;
      display: flex;
      gap: 8px;
      padding-right: 12px;
    }

    .tab-actions i {
      font-size: 14px;
      color: #cccccc;
      opacity: 0.6;
      cursor: pointer;
    }

    .tab-actions i:hover {
      opacity: 1;
    }

    /* Main Content Area */
    .main {
      display: flex;
      flex: 1;
      justify-content: space-around;
      padding: 40px 80px;
      /* overflow-y: auto; */
    }

    .hidden {
      display: none !important;
    }

    .editor-panel {
      flex: 1;
      display: flex;
      flex-direction: column;
      background: #1e1e1e;
      min-height: 0;
    }

    .editor-header {
      height: 38px;
      background: #2d2d2d;
      border-bottom: 1px solid #1f1f1f;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 14px;
      color: #cccccc;
      font-size: 13px;
    }

    .editor-tab-title {
      color: #f5f5f5;
      font-weight: 500;
    }

    .editor-actions {
      display: flex;
      gap: 14px;
      font-size: 12px;
      color: #bdbdbd;
    }

    .editor-toolbar {
      height: 28px;
      background: #252526;
      display: flex;
      align-items: center;
      gap: 18px;
      padding: 0 16px;
      font-size: 12px;
      color: #d4d4d4;
      border-bottom: 1px solid #1f1f1f;
    }

    #code-editor {
      width: 100%;
      flex: 1;
      border: none;
      outline: none;
      resize: none;
      background: #1e1e1e;
      color: #d4d4d4;
      font-size: 16px;
      line-height: 1.6;
      padding: 22px 28px;
      font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
      tab-size: 2;
    }

    h1 {
      font-size: 42px;
      font-weight: 300;
      color: #e7e7e7;
      margin-bottom: 8px;
    }

    .subtitle {
      color: #969696;
      font-size: 18px;
      margin-bottom: 40px;
      font-weight: 300;
    }

    h3 {
      font-size: 20px;
      color: #e7e7e7;
      margin-bottom: 16px;
      font-weight: 400;
    }

    /* Left Section */
    .left {
      flex: 1;
      max-width: 500px;
      margin-top: 5%;
    }

    .left ul {
      list-style: none;
      padding: 0;
      margin-bottom: 40px;
    }

    .left li {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 0;
      color: #75beff;
      font-size: 14px;
      cursor: pointer;
    }

    .left li:hover {
      text-decoration: underline;
    }

    .left li.active {
      color: #ffffff;
      text-decoration: underline;
    }

    .left li i {
      width: 18px;
      text-align: center;
      color: #75beff;
      opacity: 0.8;
    }

    .recent li {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 4px 0;
      font-size: 14px;
      cursor: pointer;
      color: #75beff;
    }

    .recent li:hover .recent-name {
      text-decoration: underline;
    }

    .recent li.active .recent-name {
      text-decoration: underline;
      color: #ffffff;
    }

    .recent-path {
      color: #969696;
      font-size: 13px;
    }

    .more-link {
      color: #75beff;
      font-size: 14px;
      cursor: pointer;
      display: inline-block;
      margin-top: 8px;
    }

    .more-link:hover {
      text-decoration: underline;
    }

    /* Right Section */
    .right {
      flex: 1;
      max-width: 500px;
      margin-top: 12%;
    }

    .card {
      background: #252526;
      padding: 12px 16px;
      margin: 8px 0;
      border-radius: 6px;
      cursor: pointer;
      border: 1px solid transparent;
      transition: border-color 0.2s;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: #cccccc;
    }

    .card:hover {
      border-color: #007acc;
    }

    .card.active {
      border-color: #007acc;
      box-shadow: inset 0 0 0 1px rgba(0, 122, 204, 0.45);
    }

    .card-icon {
      width: 32px;
      height: 32px;
      background: #3c3c3c;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .card-text {
      flex: 1;
    }

    .updated-badge {
      background: #007acc;
      color: white;
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 10px;
      font-weight: 500;
      flex-shrink: 0;
    }

    .card-progress {
      margin-top: 8px;
      width: 100%;
      height: 3px;
      background: #555;
      border-radius: 10px;
      /* overflow: hidden; */
    }

    .card-progress2 {
      height: 100%;
      background: #007acc;
      border-radius: 10px;
    }

    .card.has-progress {
      flex-direction: column;
      align-items: stretch;
      gap: 0;
    }

    .card-header {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* Footer */
    .welcome-footer {
      height: 40px;
      border-top: 1px solid #2d2d2d;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 13px;
      color: #969696;
      flex-shrink: 0;
    }

    .welcome-footer input[type="checkbox"] {
      accent-color: #007acc;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
      width: 10px;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      background: #424242;
      border-radius: 5px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #4f4f4f;
    }