.aimslms-gateway {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
}

.aimslms-gateway-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
}

.aimslms-gateway-left {
    font-size: 15px;
    font-weight: 600;
}

.aimslms-gateway-toggle input {
    appearance: none;
    width: 42px;
    height: 22px;
    background: #d1d5db;
    border-radius: 999px;
    position: relative;
    cursor: pointer;
}

.aimslms-gateway-toggle input:checked {
    background: #2271b1;
}

.aimslms-gateway-toggle input:before {
    content: "";
    width: 18px;
    height: 18px;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    transition: .25s;
}

.aimslms-gateway-toggle input:checked:before {
    transform: translateX(20px);
}

.aimslms-gateway-toggle-mode input {
    appearance: none;
    width: 42px;
    height: 22px;
    background: #d1d5db;
    border-radius: 999px;
    position: relative;
    cursor: pointer;
}

.aimslms-gateway-toggle-mode input:checked {
    background: #2271b1;
}

.aimslms-gateway-toggle-mode input:before {
    content: "";
    width: 18px;
    height: 18px;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    transition: .25s;
}

.aimslms-gateway-toggle-mode input:checked:before {
    transform: translateX(20px);
}
.aimslms-gateway-content {
    display: none;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.aimslms-gateway.open .aimslms-gateway-content {
    display: block;
}
.aimslms-gateway-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aimslms-gateway-arrow {
    cursor: pointer;
    font-size: 18px;
    transition: transform .25s ease;
    color: #374151;
}

.aimslms-gateway.open .aimslms-gateway-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}
.aimslms-test-result {
    margin-left: 10px;
    font-weight: 600;
}

.aimslms-test-result.success {
    color: #1a7f37; /* green */
}

.aimslms-test-result.error {
    color: #d63638; /* red */
}
