/* ===== Dark Theme Table (Payment Methods) ===== */
.vha-payment-methods-container {
    background: transparent; /* page handles bg; keep clean */
}

/* Core table */
.vh-payment-method-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #0f0720;               /* deep purple/indigo */
    color: #e9e3ff;                     /* soft white-lilac text */
    border: 1px solid #7c3aed;          /* violet-600 border */
    overflow: hidden;                   /* keep rounded corners */
}

/* Header */
.vh-payment-method-table thead th {
    background: #7c3aed;                /* violet header */
    color: #ffffff;
    font-weight: 700;
    padding: 14px 16px;
    text-align: left;
    border-right: 1px solid #9f67ff;    /* lighter purple divider */
}
.vh-payment-method-table thead th:last-child {
    border-right: none;
}

/* Body cells */
.vh-payment-method-table tbody td {
    padding: 12px 16px;
    border-top: 1px solid #3b1f7a;      /* subtle row divider */
    border-right: 1px solid #2c155e;
    vertical-align: middle;
}
.vh-payment-method-table tbody td:last-child {
    border-right: none;
}

/* Row states */
.vh-payment-method-table tbody tr:nth-child(odd) {
    background: #120a27;                /* very dark alt row */
}
.vh-payment-method-table tbody tr:hover {
    background: #1a0f36;                /* hover pop */
}

/* “# / index” narrow column if you add it later */
.vh-col-index {
    width: 70px;
    text-align: center;
}

/* Badge for default card */
.vh-payment-default {
    display: inline-block;
    font-size: 0.75rem;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    background: #6b7280;                /* slate-ish */
    color: #fff;
    margin-left: 8px;
    vertical-align: middle;
}

/* ===== Action Buttons (match screenshot style) ===== */
.vh-actions {
    display: flex;
    gap: 8px;
}

.vh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: transform .06s ease, opacity .12s ease;
}
.vh-btn:active { transform: translateY(1px); }
.vh-btn:disabled { opacity: .55; cursor: not-allowed; }

.vh-btn--green  { background: #10b981; }  /* go / enter */
.vh-btn--blue   { background: #2563eb; }  /* edit */
.vh-btn--red    { background: #ef4444; }  /* delete */

/* If you use Font Awesome icons inside: size tweak */
.vh-btn i { font-size: 14px; }

/* ===== “Add Workspace” style button variant (if needed) ===== */
.vh-chip-button {
    background: #7c3aed;
    color: #fff;
    border: 1px solid #9f67ff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 0 0 0 rgba(124,58,237,0);
    transition: box-shadow .2s ease, transform .06s ease, opacity .15s ease;
}
.vh-chip-button:hover {
    box-shadow: 0 0 0 4px rgba(124,58,237,0.25);
}
.vh-chip-button:active { transform: translateY(1px); }

/* ===== Spinner to match palette ===== */
.candlestick-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 56px;
}
.candlestick-loader .bar {
    width: 6px;
    height: 22px;
    background: #7c3aed;
    animation: candlestick 1s infinite ease-in-out;
    border-radius: 2px;
}
.candlestick-loader .bar:nth-child(2) { animation-delay: 0.1s; }
.candlestick-loader .bar:nth-child(3) { animation-delay: 0.2s; }
.candlestick-loader .bar:nth-child(4) { animation-delay: 0.3s; }

@keyframes candlestick {
    0%, 40%, 100% { transform: scaleY(0.45); }
    20%           { transform: scaleY(1); }
}


#add-card-btn, #add-card-btn-submit{
    background-color: #793aff;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    margin-bottom: 15px;
}

/* Badge-like button to match "Default" chip */
.vh-badge-btn {
  display: inline-block;
  border: 0;
  background: #6c757d;     /* same as .bg-secondary */
  color: #fff;
  font-size: 0.75rem;       /* badge-sized */
  line-height: 1.2;
  padding: 0.15rem 0.45rem; /* compact like a badge */
  border-radius: 0.375rem;  /* rounded like Bootstrap badges */
  cursor: pointer;
}
.vh-badge-btn:hover { filter: brightness(0.95); }


.bg-secondary {
    background-color: rgb(125 46 233) !important;
}