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

    body {
      font-family: Arial, Helvetica, sans-serif;
      background: linear-gradient(180deg, #444 0%, #2f2f2f 100%);
      color: #fff;
      min-height: 100vh;
      padding: 24px;
    }

    .panel {
      width: 100%;
      min-height: calc(100vh - 48px);
      background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.08)),
        #3a3a3a;
      border: 1px solid #555;
      border-radius: 12px;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 8px 24px rgba(0,0,0,0.35);
      padding: 24px;
      display: flex;
      flex-direction: column;
    }

    .panel-header {
      margin-bottom: 24px;
    }

    .panel-header h1 {
      font-size: 24px;
      font-weight: 700;
      letter-spacing: 1px;
      color: #f2f2f2;
    }

    .panel-header p {
      margin-top: 6px;
      color: #bdbdbd;
      font-size: 14px;
    }

    .app-area {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .app-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 18px;
      width: 100%;
    }

    .app-tile {
      width: 140px;
      height: 140px;
      background: linear-gradient(180deg, #565656 0%, #3c3c3c 100%);
      border: 1px solid #686868;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      text-decoration: none;
      color: #d8d8d8;
      font-weight: 700;
      font-size: 18px;
      letter-spacing: 0.5px;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 4px 10px rgba(0,0,0,0.3);
      transition: all 0.15s ease;
    }

    .app-tile:hover {
      transform: translateY(-2px);
      background: linear-gradient(180deg, #2d4d63 0%, #1d2f3d 100%);
      border-color: #5d7e95;
      color: #eaf6ff;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 8px 16px rgba(0,0,0,0.35);
    }

    @media (max-width: 600px) {
      body {
        padding: 12px;
      }

      .panel {
        padding: 16px;
        border-radius: 8px;
      }

      .app-tile {
        width: 120px;
        height: 120px;
        font-size: 16px;
        border-radius: 10px;
      }
    }



/* ------------------------ Login style --------------------- */


.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.10);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.login-overlay.active {
  display: flex;
}

.login-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #4a4a4a 0%, #2f2f2f 100%);
  border: 1px solid #666;
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 40px rgba(0,0,0,0.45);
  padding: 28px 24px 24px;
  color: #fff;
}

.login-modal h2 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  color: #f2f2f2;
  text-align: center;
}

.login-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ccc;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.login-close:hover {
  color: #fff;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #d0d0d0;
}

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #666;
  border-radius: 8px;
  background: #252525;
  color: #fff;
  font-size: 15px;
  outline: none;
}

.form-row input:focus {
  border-color: #5d7e95;
  box-shadow: 0 0 0 2px rgba(93, 126, 149, 0.25);
}

.form-actions {
  margin-top: 20px;
}

.login-btn {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #5d7e95;
  border-radius: 8px;
  background: linear-gradient(180deg, #2d4d63 0%, #1d2f3d 100%);
  color: #eef8ff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}
