 /* Colors inspired by WhatsApp */
    :root {
        --wa-green: #25D366;
        --wa-dark: #075E54;
        --wa-light: #DCF8C6;
        --wa-gray: #ECE5DD;
        --wa-white: #FFFFFF;
    }

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
    }

    body {
        display: flex;
        min-height: 100vh;
        background-color: var(--wa-gray);
    }
.form-label{
    color:#075e54;
}
.events-bar {
      background: #ffffff;
      border-radius: 12px;
      padding: 15px 20px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.08);
      margin-bottom:20px;
      border:1px solid #c5c5c5;
    }
#client-profile-section {
      background: #f4f6f9;
      display: flex;
      padding: 20px;
    }

    #client-profile-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      background: #fff;
      padding: 30px;
      border-radius: 20px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      width: 100%;
    }

    /* Profile preview */
    #profile-preview {
      text-align: center;
      padding: 20px;
      border-right: 2px solid #eee;
    }

    #profile-preview img {
  width: 140px;
  height: 140px;
  border-radius: 5%;
  border: 3px solid #075e54;
  object-fit: cover;
  margin-bottom: 15px;
}
/* Loader inside button */
.btn-loading {
  position: relative;
  color: transparent !important; /* Hide text while loading */
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;       /* loader size */
  height: 20px;
  margin-top: -10px; /* half of size */
  margin-left: -10px;
  border: 2px solid rgba(255, 255, 255, 0.3); /* light border */
  border-top: 2px solid #fff; /* white color */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
    #profile-preview h2 {
      color: #333;
      margin-bottom: 5px;
    }
    #post-sidebar label{
      color:#fff;
    }
    #profile-preview h3 {
      color: #777;
      font-size: 16px;
      margin-bottom: 15px;
    }

    #profile-preview p {
     font-size: 14px;
     color: #555;
     line-height: 1.6;
     background-color: #f8f8f8;
     padding: 15px;
     border-radius: 10px;
     border: 1px solid #e4e4e4;
    box-shadow: 4px 4px 9px #d6d6d6;
}

    .contact-info {
  margin-top: 15px;
  font-size: 14px;
  color: #444;
  display: flex;
  gap:10px;
}
    .contact-info span {
  display: block;
  margin: 5px 0;
  width: 33.333%;
  background-color: #dcf8c6;
  padding: 15px;
  color: #000;
  border-radius: 10px;
}

    /* Edit form */
    #edit-profile-card h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    .form-group {
      margin-bottom: 15px;
    }

    label {
      font-size: 14px;
      font-weight: 600;
      color: #555;
      display: block;
      margin-bottom: 5px;
    }

    input, textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius:50px;
      font-size: 14px;
    }

    textarea {
      resize: none;
      height: 80px;
    }
/* Root Split Layout */
    #scw-app {display: grid; grid-template-columns: 1fr 1fr; }
    @media (max-width: 1100px){ #scw-app{ grid-template-columns: 1fr; } }

    .scw-pane { padding: 20px; border-right: 1px solid var(--scw-border); }
    .scw-pane:last-child { border-right: none; }

    /* Left: Campaign Builder */
    .scw-card { background: var(--scw-muted); border: 1px solid var(--scw-border); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
    .scw-title { font-weight: 700; font-size: 20px; margin: 0 0 12px; }
    .scw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    @media (max-width: 720px){ .scw-grid{ grid-template-columns: 1fr; } }
    label { font-size: 12px; color: var(--scw-subtext); display:block; margin-bottom: 6px; }
    input[type="text"], input[type="number"], input[type="date"], select, textarea {
      width: 100%;
      border: 1px solid var(--scw-border);
      border-radius: 12px;
      padding: 12px 12px;
      outline: none;
    }
    textarea { resize: vertical; min-height: 96px; }
:root {
      --scw-bg: #0b141a;             /* app background (dark outside) */
      --scw-muted: #202c33;          /* panels */
      --scw-text: #e9edef;           /* primary text */
      --scw-subtext: #8696a0;        /* secondary text */
      --scw-accent: #00a884;         /* WA accent */
      --scw-header: #075e54;         /* WA header */
      --scw-chat-bg: #0b141a;        /* outer chat bg */
      --scw-chat-paper: #111b21;     /* inner chat panel */
      --scw-bubble-out: #005c4b;     /* outgoing bubble */
      --scw-bubble-in: #1f2c33;      /* incoming bubble */
      --scw-bubble-out-lite: #dff3e8;/* outgoing lite (optional) */
      --scw-bubble-time: #b0b9bf;    
      --scw-input-bg: #2a3942;       /* input bar */
      --scw-border: #21313a;
      --scw-success: #22c55e;
      --scw-warning: #f59e0b;
      --scw-error: #ef4444;
      --radius: 16px;
    }

    /* Light theme */
    .scw-light {
      --scw-bg: #f0f2f5;
      --scw-muted: #ffffff;
      --scw-text: #111b21;
      --scw-subtext: #54656f;
      --scw-chat-bg: #ece5dd;
      --scw-chat-paper: #ffffff;
      --scw-bubble-out: #d9fdd3;
      --scw-bubble-in: #ffffff;
      --scw-input-bg: #f0f2f5;
      --scw-border: #e6e6e6;
    }
    .scw-actions { display: flex; gap: 10px; flex-wrap: wrap; }
    .scw-btn {
      background: var(--scw-accent);
      color: white;
      border: none;
      border-radius: 999px;
      padding: 10px 16px;
      font-weight: 600;
      cursor: pointer;
      transition: transform .05s ease, opacity .2s ease;
    }
    .scw-btn:active { transform: translateY(1px); }
    .scw-btn.secondary { background: transparent; color: var(--scw-text); border: 1px solid var(--scw-border); }
    .scw-switch { margin-left: auto; display:flex; align-items:center; gap:8px; }
    .scw-switch input { width: 44px; height: 24px; accent-color: var(--scw-accent); }

    .scw-badge { font-size: 12px; padding: 4px 8px; border-radius: 999px; border:1px solid var(--scw-border); color: var(--scw-subtext); }

    .scw-inline { display:flex; align-items:center; gap:8px; }

    .scw-divider { height:1px; background: var(--scw-border); margin: 10px 0 0; }

    /* Right: WhatsApp-like Screen */
    .scw-chat-root { background: var(--scw-chat-bg); height: 100%; border-radius: 24px; overflow: hidden; display:flex; flex-direction:column; border:1px solid var(--scw-border); }
    .scw-chat-header { background: var(--scw-header); color: #e9edef; padding: 12px 16px; display:flex; align-items:center; gap: 12px; }
    .scw-avatar { width: 36px; height: 36px; border-radius: 50%; background: #d9d9d9; flex: 0 0 36px; display:grid; place-items:center; font-weight:700; color:#111; }
    .scw-chat-meta { line-height: 1.2; }
    .scw-chat-meta .name { font-weight: 600; }
    .scw-chat-meta .status { font-size: 12px; opacity: .85; }

    .scw-chat-body { flex: 1; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="64" viewBox="0 0 120 64"><g fill="%23213a28" fill-opacity="0.25"><circle cx="8" cy="8" r="2"/><circle cx="40" cy="18" r="2"/><circle cx="18" cy="46" r="2"/><circle cx="96" cy="30" r="2"/><circle cx="72" cy="12" r="2"/><circle cx="54" cy="52" r="2"/></g></svg>') repeat; padding: 14px; overflow-y: auto; }
    .scw-chat-scroll { display:flex; flex-direction:column; gap: 8px; }

    .scw-row { display:flex; width:100%; }
    .scw-in { justify-content: flex-start; }
    .scw-out { justify-content: flex-end; }

    .scw-bubble { max-width: 72%; border-radius: 12px; padding: 8px 10px 6px; position: relative; border: 1px solid var(--scw-border); word-wrap: break-word; white-space: pre-wrap; }
    .scw-bubble.in { background: var(--scw-bubble-in); border-top-left-radius: 4px; }
    .scw-bubble.out { background: var(--scw-bubble-out); border-top-right-radius: 4px; }
    .scw-time { font-size: 11px; color: var(--scw-bubble-time); display:block; text-align: right; margin-top: 4px; }

    .scw-chat-inputbar { background: var(--scw-chat-paper); padding: 10px; border-top: 1px solid var(--scw-border); display:flex; align-items:center; gap: 10px; }
    .scw-iconbtn { background: var(--scw-input-bg); border: 1px solid var(--scw-border); width: 40px; height: 40px; border-radius: 999px; display:grid; place-items:center; cursor:pointer; }
    .scw-chat-input { flex:1; display:flex; gap:8px; align-items:center; background: var(--scw-input-bg); border:1px solid var(--scw-border); border-radius: 22px; padding: 6px 10px; }
    .scw-chat-input input { flex:1; background:transparent; border:none; outline:none; color: var(--scw-text); padding: 8px; font-size: 15px; }

    .scw-toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background:#111b21; color:#e9edef; border: 1px solid var(--scw-border); border-radius: 999px; padding: 10px 16px; font-weight:600; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
    .scw-toast.show { opacity: 1; }

    .scw-charcount { font-size: 12px; color: var(--scw-subtext); margin-left:auto; }
    #save-btn {
      display: block;
      width: 100%;
      padding: 12px;
      background: #075e54;
      color: #fff;
      font-size: 16px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: 0.3s;
      margin-top: 10px;
    }

    #save-btn:hover {
      background: #dcf8c6;
      color:#2d2d2d;
    }

    #message {
      margin-top: 15px;
      text-align: center;
      font-size: 14px;
      color: green;
      display: none;
    }

    /* Responsive */
    @media (max-width: 768px) {
      #client-profile-container {
        grid-template-columns: 1fr;
        text-align: center;
      }
      #profile-preview {
        border-right: none;
        border-bottom: 2px solid #eee;
        padding-bottom: 20px;
      }
    }
    .events-bar h3 {
      margin: 0 0 10px;
      font-size: 18px;
      color: #333;
      border-left: 5px solid #25D366; /* WhatsApp-like green */
      padding-left: 10px;
    }

    .event-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid #eee;
    }

    .event-item:last-child {
      border-bottom: none;
    }

    .event-title {
      font-size: 15px;
      color: #444;
    }

    .event-date {
      background: #25D366;
      color: #fff;
      font-size: 13px;
      padding: 3px 8px;
      border-radius: 8px;
      white-space: nowrap;
    }
    .customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }

  .customer-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease-in-out;
  }

  .customer-card:hover {
    transform: translateY(-5px);
  }

  .customer-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #ddd;
  }
  #client-edit-profile * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Poppins", sans-serif;
    }

    #client-edit-profile {
      background: #f4f6f9;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }

    #client-edit-profile #edit-profile-card {
      background: #fff;
      width: 400px;
      border-radius: 20px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      padding: 30px 25px;
    }

    #client-edit-profile #edit-profile-card h2 {
      text-align: center;
      margin-bottom: 20px;
      color: #333;
    }

    #client-edit-profile #edit-profile-card img {
      display: block;
      margin: 0 auto 15px;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      border: 4px solid #4a90e2;
      object-fit: cover;
    }

    #client-edit-profile .form-group {
      margin-bottom: 15px;
    }

    #client-edit-profile label {
      font-size: 14px;
      font-weight: 600;
      color: #555;
      display: block;
      margin-bottom: 5px;
    }

    #client-edit-profile input,
    #client-edit-profile textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 10px;
      font-size: 14px;
    }

    #client-edit-profile textarea {
      resize: none;
      height: 80px;
    }

    #client-edit-profile #save-btn {
      display: block;
      width: 100%;
      padding: 12px;
      background: #4a90e2;
      color: #fff;
      font-size: 16px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      transition: 0.3s;
      margin-top: 10px;
    }

    #client-edit-profile #save-btn:hover {
      background: #357ABD;
    }

    #client-edit-profile #message {
      margin-top: 15px;
      text-align: center;
      font-size: 14px;
      color: green;
      display: none;
    }

    @media (max-width: 450px) {
      #client-edit-profile #edit-profile-card {
        width: 90%;
        padding: 20px;
      }
    }
.customer-card img{
    width:50px;
    height:50px;
    border-radius:100%;
}
  .customer-card h3 {
    margin: 5px 0;
    font-size: 18px;
    font-weight: bold;
  }

  .customer-card p {
    margin: 2px 0;
    font-size: 14px;
  }

  .status {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
  }

  .status.active {
    background: #d4edda;
    color: #155724;
  }

  .status.inactive {
    background: #f8d7da;
    color: #721c24;
  }
button.history{
    border-radius:5px;
}
.wallet-container {
      max-width:1000px;
      margin: 30px auto;
      padding: 20px;
      border: 1px solid #d6d6d6;
    }
    .profile-box {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 3px 8px rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      margin-bottom: 25px;
      border: 1px solid #d6d6d6;
    }
    .profile-box img {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      margin-right: 20px;
    }
    .profile-box h2 { margin: 0; }
    .profile-box p { margin: 3px 0; color: #555; }

    .summary-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin-bottom: 25px;
    }
    .summary-card {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      text-align: center;
      border: 1px solid #d6d6d6;
    }
    .summary-card h3 {
      margin: 0;
      font-size: 16px;
      color: #666;
    }
    .summary-card p {
      font-size: 22px;
      font-weight: bold;
      color: #2c3e50;
      margin-top: 8px;
    }
    .wallet-actions {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      margin-bottom: 25px;
      text-align: center;
      border: 1px solid #d6d6d6;
    }
    .wallet-actions input {
      width: 60%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 16px;
      margin-bottom: 15px;
    }
    .wallet-actions button {
      padding: 12px 20px;
      border: none;
      border-radius: 8px;
      background: #27ae60;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
    }
    .wallet-actions button:hover { background: #219150; }
    .quick-recharge {
      margin-top: 15px;
    }
    .quick-recharge button {
      margin: 5px;
      padding: 10px 20px;
      background: #3498db;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    .quick-recharge button:hover { background: #2980b9; }

    .transactions {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      border: 1px solid #d6d6d6;
    }
    .transactions h3 { margin-bottom: 15px; }
    .transaction {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid #eee;
      font-size: 15px;
    }
    .transaction:last-child { border-bottom: none; }
    .credit { color: #27ae60; font-weight: bold; }
    .debit { color: #e74c3c; font-weight: bold; }
    .message {
      margin-top: 15px;
      padding: 10px;
      border-radius: 6px;
      display: none;
      text-align: center;
    }
    .success { background: #d4edda; color: #155724; }
    .error { background: #f8d7da; color: #721c24; }
.sidebar {
      width: 250px;
      height: 100vh;
      background-color: #075E54; /* WhatsApp dark green */
      color: #fff;
      position: fixed;
      top: 0;
      left: 0;
      transition: width 0.3s ease;
      overflow-x: hidden;
      padding-top:0;
      box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    }

    /* Toggle button inside sidebar */
    #toggleBtn {
      background: none;
      color: #2d2d2d;
      font-size: 22px;
      margin: 0px 0px;
      cursor: pointer;
      position: absolute;
      float: right;
      right: 0;
}

    /* Sidebar links */
    .sidebar a {
      display: block;
      padding: 12px 20px;
      text-decoration: none;
      color: #fff;
      font-size: 16px;
      transition: background 0.2s;
      white-space: nowrap;
    }

    .sidebar a:hover {
      background: rgba(255,255,255,0.1);
    }

    .sidebar h2 {
      font-size: 18px;
      color: #fff;
      transition: opacity 0.3s ease;
     }

    /* Collapsed sidebar (thin strip visible) */
    .sidebar.collapsed {
      width: 60px; /* show a little strip */
    }

    .sidebar.collapsed h2,
    .sidebar.collapsed a span {
      opacity: 0; /* hide text but keep icons */
      pointer-events: none;
    }

    /* Main content (optional shift) */
    .main-content {
      margin-left: 250px; /* same as sidebar width */
      padding: 20px;
      transition: margin-left 0.3s ease;
    }

    .sidebar.collapsed ~ .main-content {
      margin-left: 60px; /* shrink space */
    }
    .sidebar h2 {
     text-align: left;
     padding:12px 20px;
     border-bottom: 1px solid rgba(255,255,255,0.2);
     font-size:18px;
     background-color: #dcf8c6;
     color: #2d2d2d;
}

    .sidebar a {
        padding: 15px 20px;
        text-decoration: none;
        color: var(--wa-white);
        display: block;
        transition: 0.3s;
    }
    
    .sidebar a i {
      font-size: 14px;
      margin-right: 7px;
    }

    .sidebar a:hover {
        background-color: var(--wa-green);
        color: var(--wa-dark);
    }

    /* Main content */
    .main-content {
        flex: 1;
        padding: 20px;
    }

    .card {
        background-color: var(--wa-white);
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .card h3 {
        margin-bottom: 10px;
        color: var(--wa-dark);
    }

    .card p {
        color: #555;
    }

    /* Header */
    .header {
        background-color:#075e54;
        color: var(--wa-white);
        padding: 15px 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
     .table-container {
        overflow-x: auto;
        background-color: var(--wa-white);
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 20px;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        min-width: 600px;
        font-size:14px;
    }

    th, td {
        padding: 12px 15px;
        text-align: left;
    }

    th {
        background-color: var(--wa-dark);
        color: var(--wa-white);
        position: sticky;
        top: 0;
    }

    tr:nth-child(even) {
        background-color: var(--wa-light);
    }

    tr:hover {
      background-color: #f4f4f4;
      color: #2d2d2d;
    }

    @media(max-width: 600px){
        th, td {
            padding: 10px;
            font-size: 14px;
        }
    }
    .header h2{
        font-size:20px;
        margin-bottom:0;
    }
    .main-content h3{
        font-size:22px;
    }
    .main-content p{
        margin-bottom:0;
    }
    #main {
      display: flex;
      height: 100vh;
      overflow: hidden;
    }

    #sidebar {
      width: 260px;
      min-width: 260px;
      background: #075E54; /* WhatsApp dark green */
      color: white;
      padding: 15px;
      overflow-y: auto;
      box-sizing: border-box;
    }
    #sidebar h2, #sidebar h3, #sidebar label {
      color: white;
    }
    #sidebar input, #sidebar select, #sidebar button {
      width: 100%;
      margin-bottom: 10px;
      padding: 6px;
      box-sizing: border-box;
    }
    #sidebar button {
      cursor: pointer;
      background: #25d366;
      border: none;
      color: white;
      border-radius: 4px;
      font-weight: bold;
    }
    #sidebar button:hover {
      background: #1ebe5d;
    }

    #editor {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: auto;
      background: #ECE5DD; /* WhatsApp chat bg */
    }

    #canvas {
      position: relative;
      overflow: hidden;
    }

    .toolbar {
      margin-top: 10px;
      text-align: center;
    }

    button {
      background: #25D366; /* WhatsApp accent green */
      color: white;
      border: none;
      padding: 8px 14px;
      margin: 4px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
    }
    button:hover {
      background: #128C7E; /* Darker green */
    }

    /* Elements inside canvas */
    .draggable {
      position: absolute;
      cursor: move;
      user-select: none;
    }
    .selected {
      outline: 2px dashed red;
    }
    .resize-handle {
      width: 10px;
      height: 10px;
      background: red;
      position: absolute;
      bottom: -5px;
      right: -5px;
      cursor: se-resize;
    }

    /* Pre-installed banner styles */
    .banner {
      position: absolute;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      padding: 20px 40px;
      font-size: 36px;
      font-weight: bold;
      color: white;
      border-radius: 10px;
      text-align: center;
    }
    .birthday { background: linear-gradient(135deg,#ff9a9e,#fad0c4); color:#333; }
    .anniversary { background: linear-gradient(135deg,#a18cd1,#fbc2eb); }
    .diwali { background: linear-gradient(135deg,#f6d365,#fda085); }
    .holi { background: linear-gradient(135deg,#89f7fe,#66a6ff); color:#222; }

    #main {
      display: flex;
      height: 100vh;
      overflow: hidden;
    }

    #post-sidebar {
      width: 280px;
      min-width: 280px;
      background: #075E54;
      color: white;
      padding: 15px;
      overflow-y: auto;
      box-sizing: border-box;
    }

    #sidebar h2, #sidebar h3, #sidebar label {
      color: white;
    }

    #sidebar input, #sidebar select, #sidebar button {
      width: 100%;
      margin-bottom: 10px;
      padding: 6px;
      box-sizing: border-box;
    }

    #sidebar button {
      cursor: pointer;
      background: #25d366;
      border: none;
      color: white;
      border-radius: 4px;
      font-weight: bold;
    }

    #sidebar button:hover {
      background: #128C7E;
    }

    #editor {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      overflow: auto;
      background: #ECE5DD;
      padding:20px;
    }

    #canvas-wrap {
    width: 1280px;
    height: 720px;
    border:1px solid #d6d6d6;
    background-color:#fff;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
  }
  #canvas {
    width: 1280px;
    height: 720px;
    position: relative;
    overflow: hidden;
  }
  .draggable {
    position: absolute;
    cursor: move;
    user-select: none;
  }
  .resize-handle {
    width: 10px;
    height: 10px;
    background: red;
    position: absolute;
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
  }
  .template-thumb {
    width:50%;
    height:70px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    margin-top: 5px;
}
  .template-thumb:hover {
    border-color: #25D366;
  }
    #template-preview {
      width:100%;
      float:left;
    }
#editor h4{
    width:100%;
    float:left;
    margin:0;
    text-align:left;
}
#post-sidebar aside{
    width:100%;
    float:left;
    margin-bottom:20px;
}
#post-sidebar aside input {
  margin: 5px 0;
  width: 100%;
  padding: 10px;
  font-size: 12px;
  border-radius: 5px;
  border:0;
}
#post-sidebar aside button{
    margin:5px 0;
    width:100%;
    border-radius:5px;
    padding: 10px;
    font-size: 12px;
    border:0;
}
#upload{
    background-color:#fff;
    color:#2d2d2d;
}
#registerForm input {
  width: 48%;
  float: left;
  border-radius: 50px;
  margin: 1%;
  border: 1px solid #d6d6d6;
}
#registerForm button{
  width: 98%;
  border-radius: 40px;
  padding: 15px;
  margin: 10px 0;
}
#eventSelect {
  width: 100%;
  float: left;
  padding: 7px;
  font-size: 12px;
  margin-top: 5px;
}
.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.customer-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  border:1px solid #d6d6d6;
}
.customer-card:hover {
  transform: translateY(-5px);
  cursor:pointer;
}
.customer-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #2c3e50;
}
.customer-card p {
  margin: 6px 0;
  font-size: 14px;
}
.status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 10px;
}
.active {
  background: #2ecc71;
  color: #fff;
}
.inactive {
  background: #e74c3c;
  color: #fff;
}
@media screen and (min-device-width:300px) and (max-device-width:600px) {
.main-content {
  flex: 1;
  padding: 20px;
  width: 100%;
}
}

.login-container {
        background-color: var(--wa-white);
        padding: 40px 30px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        width:380px;
        text-align: center;
        margin:auto;
    }
    .signup-container {
        background-color: var(--wa-white);
        padding: 40px 30px;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        width:600px;
        text-align: center;
        margin:auto;
    }

    .login-container h2 {
        color: var(--wa-dark);
        margin-bottom: 25px;
    }

    .login-container input[type="text"],
    .login-container input[type="password"] {
        width: 100%;
        padding: 12px 15px;
        margin: 10px 0;
        border: 1px solid #ccc;
        border-radius: 50px;
        outline: none;
        transition: 0.3s;
        box-sizing:border-box;
    }

    .login-container input[type="text"]:focus,
    .login-container input[type="password"]:focus {
        border-color: var(--wa-green);
        box-shadow: 0 0 5px var(--wa-green);
    }

    .login-container button {
        width: 100%;
        padding: 12px;
        background-color: var(--wa-green);
        border: none;
        color: var(--wa-white);
        font-size: 16px;
        border-radius: 50px;
        cursor: pointer;
        margin-top: 15px;
        transition: 0.3s;
    }

    .login-container button:hover {
        background-color: var(--wa-dark);
    }

    .login-container p {
        margin-top: 20px;
        font-size: 14px;
        color: #555;
    }

    .login-container a {
        color: var(--wa-green);
        text-decoration: none;
        font-weight: bold;
    }
















