  body {
      font-family: Arial, sans-serif;
      background: #f4f4f4;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      width: 100vw;

  }

  .form-container {
      display: none;
      position: absolute;
      z-index: 9999;
      background: #1e1e1e;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
      max-width: 400px;
      margin: 20px auto;
      color: white;
  }

  .form-container h2 {
      margin-bottom: 15px;
  }

  .form-container input {
      width: 100%;
      padding: 10px;
      margin: 8px 0 16px 0;
      border-radius: 8px;
      border: none;
      background: #333;
      color: white;
  }

  .categories {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 15px;
  }

  .categories label {
      background: #333;
      padding: 6px 12px;
      border-radius: 20px;
      cursor: pointer;
  }

  .form-container form button {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      font-size: 16px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
  }

  .create-btn {
      background-color: #007bff;
      /* Blue */
      color: white;
  }

  .close-btn {
      background-color: #dc3545;
      /* Red */
      color: white;
  }

  .create-btn:hover {
      background-color: #0056b3;
  }

  .close-btn:hover {
      background-color: #b02a37;
  }


  .container {
      position: relative;
      width: 350px;
  }

  /* Left Controls */
  .controls {
      position: absolute;
      left: -50px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  .controls button {
      width: 35px;
      height: 35px;
      border-radius: 50%;
      border: none;
      background: #fff;
      box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      font-size: 18px;
  }

  /* Card Stack */
  .card-stack {
      position: relative;
      height: 250px;
  }

  .card {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      margin: auto;
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }

  /* Profile image */
  .profile {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      overflow: hidden;
      /* object-fit: cover; */
     
  }

  .profile img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-fit: fill;
  }

  .card h3 {
      margin: 0;
  }

  .card p {
      margin: 4px 0;
      color: #555;
  }

  .actions {
      margin-top: 10px;
  }

  .actions button {
      padding: 8px 14px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      margin-right: 8px;
      font-size: 14px;
  }

  .call-btn {
      background: #000;
      color: #fff;
  }

  .msg-btn {
      background: #eee;
      color: #333;
  }

  /* Priority colors */
  .priority {
      position: absolute;
      right: -50px;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 10px;
  }

  .priority span {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      cursor: pointer;
  }

  .black {
      background: black;
  }

  .purple {
      background: purple;
  }

  .orange {
      background: orange;
  }

  .teal {
      background: teal;
  }

  /* Stack effect */
  .card:nth-child(1) {
      z-index: 3;
      transform: translateY(0px);
  }

  .card:nth-child(2) {
      z-index: 2;
      transform: translateY(15px) scale(0.98);
  }

  .card:nth-child(3) {
      z-index: 1;
      transform: translateY(30px) scale(0.95);
  }