/* ================= CARD ================= */

.wpgsa-field-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 20px;
    max-width: 980px;
}

/* ================= HEAD ================= */

.wpgsa-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.wpgsa-description {
    font-size: 13px;
    color: #646970;
    margin-bottom: 16px;
}

/* ================= TABLE ================= */

.wpgsa-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dcdcde;
}

.wpgsa-table thead {
    background: #f6f7f7;
}

.wpgsa-table th,
.wpgsa-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #dcdcde;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.wpgsa-table th {
    font-weight: 600;
    color: #50575e;
}

.wpgsa-table tr:last-child td {
    border-bottom: none;
}

.wpgsa-table tr:hover {
    background: #f6f7f7;
}

.wpgsa-table tr.disabled {
    opacity: 0.55;
}

/* ================= DRAG ================= */

.drag-col {
    width: 32px;
    text-align: center;
    cursor: grab;
    color: #8c8f94;
    user-select: none;
}

/* ================= TOGGLE ================= */

.wpgsa-toggle {
    position: relative;
    width: 36px;
    height: 18px;
    display: inline-block;
}

.wpgsa-toggle input {
    display: none;
}

.wpgsa-toggle span {
    position: absolute;
    inset: 0;
    background: #c3c4c7;
    border-radius: 20px;
}

.wpgsa-toggle span::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
}

.wpgsa-toggle input:checked + span {
    background: #2271b1;
}

.wpgsa-toggle input:checked + span::before {
    transform: translateX(18px);
}

/* ================= FOOTER ================= */

.wpgsa-footer {
    margin-top: 16px;
    text-align: right;
}
