.wrap.wisecart-settings-wrap h1 {
    padding-bottom: 15px;
}

.wisecart-field-type-title {
    padding: 0 !important;
    background: transparent !important;
    border-bottom: none !important;
}

.wisecart-field-type-title h2 {
    font-size: 1.3em;
    font-weight: 600;
    text-align: left;
    padding: 16px 24px;
    margin: 20px 0 0 0;
    background-color: #f6f7f7;
    border: 1px solid #dcdcde;
    border-bottom: none;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.form-table {
    margin-top: 0 !important;
    border-radius: 8px;
    border: 1px solid #dcdcde;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    background: #fff;
    border-collapse: separate;
}

.form-table tr:first-child.wisecart-field-type-title+tr th,
.form-table tr:first-child.wisecart-field-type-title+tr td {
    border-top: none;
}

.form-table tr {
    border-bottom: 1px solid #dcdcde;
}

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

.form-table th,
.form-table td {
    padding: 20px 24px;
    vertical-align: middle;
}

.form-table th {
    font-weight: 600;
    color: #2c3338;
    width: 300px;
}

.wisecart-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    vertical-align: middle;
}

.wisecart-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.wisecart-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}

.wisecart-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

input:checked+.wisecart-slider {
    background-color: #2271b1;
}

input:focus+.wisecart-slider {
    box-shadow: 0 0 0 1px #2271b1;
}

input:checked+.wisecart-slider:before {
    transform: translateX(22px);
}

.wisecart-switch-description {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    color: #555;
    max-width: calc(100% - 70px);
}

.form-table .regular-text,
.form-table .small-text,
.form-table select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #8c8f94;
    transition: border-color 0.2s ease;
    min-width: 250px;
}

.form-table .small-text {
    min-width: 80px;
}

.form-table .regular-text:focus,
.form-table .small-text:focus,
.form-table select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.wisecart-settings-actions {
    margin-top: -1px;
    padding: 15px 24px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-top: 1px solid #f0f0f1;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    justify-content: flex-end;
}

#wisecart-save-btn {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 25px;
    height: auto;
    transition: all 0.2s ease-in-out;
    order: 3;
}

#wisecart-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.wisecart-save-feedback {
    margin-right: 15px;
    font-weight: 600;
    font-size: 14px;
    vertical-align: middle;
    order: 1;
}

.wisecart-settings-actions .spinner {
    float: none;
    margin-right: 10px;
    vertical-align: middle;
    visibility: hidden;
    order: 2;
}

.wisecart-settings-actions .spinner.is-active {
    visibility: visible;
}

.wisecart-save-feedback.success {
    color: #008a20;
}

.wisecart-save-feedback.error {
    color: #d63638;
}

.wisecart-field-type-textarea textarea {
    width: 100%;
    max-width: 500px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
}