:root {
    --primary-color: #4a90e2;
    --secondary-color: #f4f7f9;
    --accent-color: #28a745;
    --warning-color: #f8c146;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --border-color: #e0e6ed;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-dark: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
  }
  .container {
    width: 95%;
    max-width: 1000px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .container:hover {
    box-shadow: var(--shadow-dark);
  }
  h1,
  h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -0.5px;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
  }
  .service-box {
    display: flex;
    padding: 15px 20px;
    gap: 10px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 300px;
  }
  .service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
  }
  .service-box input[type="checkbox"] {
    accent-color: var(--primary-color);
    align-items: center;
    width: 20px;
    margin: 5px;
  }
  input {
    padding: 12px 15px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.3s ease;
  }
  input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  }
  button {
    padding: 12px 20px;
    margin-top: 20px;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  button:hover {
    background: #3973b0;
    transform: translateY(-2px);
  }
  .tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 30px;
    border-bottom: 2px solid var(--border-color);
  }
  .tab {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    position: relative;
    top: 2px;
  }
  .tab:hover {
    background-color: var(--border-color);
  }
  .tab.active {
    color: var(--primary-color);
    background: white;
    border-bottom: 2px solid var(--primary-color);
  }
  .service-list {
    display: grid;
    gap: 15px;
  }
  .service-item {
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  .service-item span {
    margin-bottom: 10px;
  }
  .service-item button {
    margin: 0;
    width: auto;
    padding: 8px 16px;
    font-size: 0.9rem;
    background: #dc3545;
    align-self: flex-end;
  }
  .service-item button:hover {
    background: #c82333;
  }
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  .modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-dark);
    animation: fadeIn 0.3s ease-out;
  }
  .modal-content h2 {
    margin-top: 0;
  }
  .modal-content .services {
    margin-bottom: 20px;
  }
  .modal-content button {
    margin-top: 10px;
  }
  .modal-content button:last-child {
    background: var(--accent-color);
  }
  .modal-content button:last-child:hover {
    background: #218838;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .header h2 {
    margin: 0;
    flex-grow: 1;
    text-align: left;
  }
  .header div {
    display: flex;
    gap: 10px;
  }
  .header button {
    width: auto;
    margin: 0;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  .hidden {
    display: none;
  }
  .assigned {
    background: var(--warning-color);
    color: var(--text-dark);
    padding: 5px 10px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-right: 10px;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  /* Mobile-specific styles */
  @media (max-width: 768px) {
    .container {
      margin: 15px;
      padding: 15px;
    }
    .services {
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    h1,
    h2 {
      font-size: 1.5rem;
    }
    .header {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
    .header div {
      margin-top: 0;
      flex-direction: column;
      width: 100%;
    }
    .header button {
      width: 100%;
    }
    .tab {
      padding: 10px 15px;
      font-size: 0.9rem;
    }
    .service-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
    .service-item button {
      align-self: stretch;
    }
  }